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.0009715/0.0009715, allocations: 93.06 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.9958/0.9958, allocations: 177.1 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.001753/0.001753, allocations: 164.3 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.02374/0.02374, allocations: 6.655 MB / 319.8 MB, free: 26.52 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 1.332e-06/1.332e-06, allocations: 0 / 391.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.452e-05, allocations: 5.969 kB / 391.6 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.001882/0.001907, allocations: 1.278 MB / 392.9 MB, free: 1.305 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003141/0.005048, allocations: 23.91 kB / 392.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.005075, allocations: 0 / 392.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.005101, allocations: 3.984 kB / 392.9 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.863e-05/0.00515, allocations: 7.922 kB / 392.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.005258, allocations: 7.938 kB / 392.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.63e-05/0.005314, allocations: 23.86 kB / 393 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.005355, allocations: 4 kB / 393 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.747e-05/0.005393, allocations: 4 kB / 393 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.005444, allocations: 3.984 kB / 393 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.005462, allocations: 4 kB / 393 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-06/0.00547, allocations: 0 / 393 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.005482, allocations: 0 / 393 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.005505, allocations: 11.98 kB / 393 MB, free: 1.211 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 5.999e-05/0.005565, allocations: 15.86 kB / 393 MB, free: 1.195 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005567, allocations: 4 kB / 393 MB, free: 1.191 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005567, allocations: 0 / 393 MB, free: 1.191 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.005571, 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.0003172/0.005889, allocations: 352.7 kB / 393.3 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.005932, allocations: 12.03 kB / 393.4 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.00597, allocations: 0.9375 kB / 393.4 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.357e-05/0.006053, allocations: 108.6 kB / 393.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.006064, allocations: 384 / 393.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.006088, allocations: 384 / 393.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.002e-05/0.006168, allocations: 38.25 kB / 393.5 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.006176, allocations: 4.172 kB / 393.5 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.006185, allocations: 8.375 kB / 393.5 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.006192, allocations: 384 / 393.5 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.006218, allocations: 11.88 kB / 393.5 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.006353, allocations: 116.7 kB / 393.6 MB, free: 460 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.069e-05/0.006424, allocations: 39.06 kB / 393.7 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.006452, allocations: 15.77 kB / 393.7 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.006459, allocations: 0 / 393.7 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.006482, allocations: 33.39 kB / 393.7 MB, free: 344 kB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 6.22e-07/0.006482, allocations: 0 / 393.7 MB, free: 344 kB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001306/0.006613, allocations: 57.58 kB / 393.8 MB, free: 280 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.006639, allocations: 55.41 kB / 393.8 MB, free: 212 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.006711, allocations: 161.9 kB / 394 MB, free: 32 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.006723, allocations: 25.7 kB / 394 MB, free: 0 / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.006775, allocations: 126.9 kB / 394.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.006803, allocations: 15.88 kB / 394.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.006834, allocations: 19.38 kB / 394.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.006957, allocations: 0.4884 MB / 394.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.00697, allocations: 0 / 394.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.208e-05/0.006982, allocations: 7.984 kB / 394.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.007017, allocations: 19.69 kB / 394.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007019, allocations: 0 / 394.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.255e-05/0.007081, allocations: 53.62 kB / 394.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.007092, allocations: 7.938 kB / 394.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.007096, allocations: 0 / 394.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.00711, allocations: 4 kB / 394.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.007191, allocations: 4 kB / 394.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.007197, allocations: 4 kB / 394.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.007214, allocations: 7.891 kB / 394.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.007219, allocations: 3.984 kB / 394.8 MB, free: 15.21 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 6.186e-05/0.007281, allocations: 156.6 kB / 394.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-06/0.007287, allocations: 4.516 kB / 394.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.00731, allocations: 11.69 kB / 394.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.007311, allocations: 0 / 394.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.007314, allocations: 0 / 394.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.007321, allocations: 11.92 kB / 395 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.749e-05/0.007389, allocations: 112.6 kB / 395.1 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.00739, allocations: 3.938 kB / 395.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.007436, allocations: 7.984 kB / 395.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007437, allocations: 4 kB / 395.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.007449, allocations: 4 kB / 395.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.00745, allocations: 0 / 395.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00745, allocations: 4 kB / 395.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.007558, allocations: 84.38 kB / 395.2 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.007565, allocations: 3.953 kB / 395.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.007577, allocations: 7.984 kB / 395.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.009e-05/0.007587, allocations: 0 / 395.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.0076, allocations: 0 / 395.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.007602, allocations: 0 / 395.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.862e-05/0.007641, allocations: 127.2 kB / 395.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007641, allocations: 0 / 395.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003193/0.01083, allocations: 11.88 kB / 395.3 MB, free: 14.59 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 7.413e-05/0.01091, allocations: 95.28 kB / 395.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.775e-05/0.01099, allocations: 19.67 kB / 395.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01099, allocations: 0 / 395.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.011, allocations: 19.69 kB / 395.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.01114, allocations: 3.984 kB / 395.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.01145, allocations: 166.5 kB / 395.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.364e-05/0.01149, allocations: 59.34 kB / 395.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.328e-05/0.0115, allocations: 3.938 kB / 395.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.01152, allocations: 8.5 kB / 395.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of SimCode: time 3.5e-07/0.01152, allocations: 0 / 395.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of Templates: time 0.001833/0.01335, allocations: 266.4 kB / 395.9 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: 3.087070421781391]