Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9735/0.9735, allocations: 177.2 MB / 200 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 160.6 kB / 256.6 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02311/0.02311, allocations: 6.657 MB / 319.8 MB, free: 26.51 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 391.6 MB, free: 2.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.832e-05, allocations: 5.688 kB / 391.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.001843/0.001871, allocations: 1.274 MB / 392.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001341/0.002005, allocations: 23.89 kB / 392.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.00203, allocations: 4 kB / 392.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.002051, allocations: 0 / 392.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.002099, allocations: 3.984 kB / 392.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.002209, allocations: 7.875 kB / 392.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.334e-05/0.002272, allocations: 15.94 kB / 393 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.002313, allocations: 11.97 kB / 393 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.002354, allocations: 4 kB / 393 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.002417, allocations: 4 kB / 393 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.002436, allocations: 0 / 393 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.002446, allocations: 4 kB / 393 MB, free: 1.215 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.002465, allocations: 7.922 kB / 393 MB, free: 1.207 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.002485, allocations: 3.938 kB / 393 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.381e-05/0.002549, allocations: 8 kB / 393 MB, free: 1.195 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.002551, allocations: 4 kB / 393 MB, free: 1.191 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.002552, allocations: 0 / 393 MB, free: 1.191 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.002557, allocations: 0 / 393 MB, free: 1.191 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003466/0.002904, allocations: 356.7 kB / 393.3 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.002943, allocations: 8.031 kB / 393.4 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.002982, allocations: 4.938 kB / 393.4 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.902e-05/0.003071, allocations: 108.6 kB / 393.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.003083, allocations: 4.375 kB / 393.5 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.003104, allocations: 4.359 kB / 393.5 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.461e-05/0.003178, allocations: 34.27 kB / 393.5 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.003183, allocations: 192 / 393.5 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.003191, allocations: 384 / 393.5 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.003199, allocations: 4.125 kB / 393.5 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.003222, allocations: 15.92 kB / 393.5 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.003354, allocations: 116.6 kB / 393.6 MB, free: 460 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.668e-05/0.003421, allocations: 43.09 kB / 393.7 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.003448, allocations: 11.69 kB / 393.7 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.003458, allocations: 7.938 kB / 393.7 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.00348, allocations: 33.39 kB / 393.7 MB, free: 336 kB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.003481, allocations: 0 / 393.7 MB, free: 336 kB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001305/0.003611, allocations: 49.72 kB / 393.8 MB, free: 280 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.003641, allocations: 55.39 kB / 393.8 MB, free: 212 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.003717, allocations: 161.9 kB / 394 MB, free: 32 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.003742, allocations: 33.7 kB / 394 MB, free: 15.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.00378, allocations: 126.9 kB / 394.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.003806, allocations: 11.84 kB / 394.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.003835, allocations: 27.36 kB / 394.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.003946, allocations: 492.1 kB / 394.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.003961, allocations: 4 kB / 394.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.003972, allocations: 8 kB / 394.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.004008, allocations: 19.67 kB / 394.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.004011, allocations: 3.938 kB / 394.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.45e-05/0.004075, allocations: 42.17 kB / 394.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.004092, allocations: 11.98 kB / 394.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.004097, allocations: 0 / 394.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.004108, allocations: 0 / 394.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.004194, allocations: 8 kB / 394.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.0042, allocations: 3.938 kB / 394.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.004218, allocations: 11.95 kB / 394.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.004222, allocations: 4.031 kB / 394.8 MB, free: 15.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/0.004295, allocations: 152.6 kB / 394.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.004303, allocations: 7.984 kB / 394.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.004326, allocations: 11.67 kB / 395 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.004328, allocations: 4 kB / 395 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.004331, allocations: 0 / 395 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.004335, allocations: 3.938 kB / 395 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.84e-05/0.004404, allocations: 116.6 kB / 395.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.004405, allocations: 0 / 395.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.004456, allocations: 11.98 kB / 395.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.004459, allocations: 0 / 395.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.004471, allocations: 0 / 395.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.004472, allocations: 4 kB / 395.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.004473, allocations: 0 / 395.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.004575, allocations: 92.31 kB / 395.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.004583, allocations: 7.984 kB / 395.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.004592, allocations: 0 / 395.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-06/0.0046, allocations: 0 / 395.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.004614, allocations: 7.984 kB / 395.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.004617, allocations: 0 / 395.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.278e-05/0.00466, allocations: 127.1 kB / 395.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00466, allocations: 3.938 kB / 395.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001106/0.00477, allocations: 8 kB / 395.3 MB, free: 14.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.937e-05/0.00484, allocations: 91.25 kB / 395.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.547e-05/0.004915, allocations: 19.67 kB / 395.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.004917, allocations: 4 kB / 395.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/0.004929, allocations: 15.69 kB / 395.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.005034, allocations: 4 kB / 395.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.005354, allocations: 166.5 kB / 395.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.202e-05/0.005386, allocations: 51.36 kB / 395.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.509e-05/0.005401, allocations: 4 kB / 395.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.005425, allocations: 12.48 kB / 395.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.005425, allocations: 0 / 395.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of Templates: time 0.001763/0.007188, allocations: 270.3 kB / 396 MB, free: 13.89 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.974913017824292]