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.001659/0.001659, allocations: 84.73 kB / 19.44 MB, free: 356 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 1.666/1.666, allocations: 177.1 MB / 199.7 MB, free: 5.816 MB / 186.7 MB " [Timeout remaining time 178] 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.001836/0.001836, allocations: 156.7 kB / 256.3 MB, free: 13.17 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.06075/0.06075, allocations: 6.66 MB / 319.4 MB, free: 26.58 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.114e-06/2.114e-06, allocations: 0 / 390.9 MB, free: 3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.952e-05/4.164e-05, allocations: 2.312 kB / 390.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.003678/0.00372, allocations: 1.25 MB / 392.1 MB, free: 1.738 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.003914, allocations: 23.92 kB / 392.2 MB, free: 1.715 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.003952, allocations: 0 / 392.2 MB, free: 1.715 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.003983, allocations: 7.922 kB / 392.2 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.00405, allocations: 3.984 kB / 392.2 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.00418, allocations: 0 / 392.2 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.004277, allocations: 19.86 kB / 392.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.004334, allocations: 0 / 392.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.004385, allocations: 12 kB / 392.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.004453, allocations: 3.984 kB / 392.2 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.004473, allocations: 0 / 392.2 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.004485, allocations: 8 kB / 392.2 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.004508, allocations: 3.984 kB / 392.2 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.004543, allocations: 7.938 kB / 392.2 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.509e-05/0.004628, allocations: 11.92 kB / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.004633, allocations: 0 / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.004635, allocations: 0 / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.004641, allocations: 0 / 392.2 MB, free: 1.637 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.0005453/0.005186, allocations: 246.4 kB / 392.5 MB, free: 1.363 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.005244, allocations: 12.03 kB / 392.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.005303, allocations: 4.891 kB / 392.5 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.005462, allocations: 109.7 kB / 392.6 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.005483, allocations: 8.375 kB / 392.6 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.005517, allocations: 384 / 392.6 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.005647, allocations: 34.25 kB / 392.6 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.005657, allocations: 192 / 392.6 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.005673, allocations: 4.375 kB / 392.7 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.00568, allocations: 384 / 392.7 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.341e-05/0.005733, allocations: 15.94 kB / 392.7 MB, free: 1.148 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.005944, allocations: 105.4 kB / 392.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.006048, allocations: 34.52 kB / 392.8 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.006095, allocations: 12.94 kB / 392.8 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.006108, allocations: 4 kB / 392.8 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.006152, allocations: 38.56 kB / 392.9 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.006153, allocations: 0 / 392.9 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001988/0.006352, allocations: 49.86 kB / 392.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.006408, allocations: 55.34 kB / 393 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.006516, allocations: 97.8 kB / 393.1 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.006543, allocations: 33.7 kB / 393.1 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.006605, allocations: 80.14 kB / 393.2 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.006649, allocations: 19.77 kB / 393.2 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.006699, allocations: 17.72 kB / 393.2 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.006887, allocations: 314.8 kB / 393.5 MB, free: 204 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.006908, allocations: 4 kB / 393.5 MB, free: 200 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.006929, allocations: 11.98 kB / 393.5 MB, free: 188 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.485e-05/0.006974, allocations: 16.86 kB / 393.5 MB, free: 168 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.006986, allocations: 0 / 393.5 MB, free: 168 kB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.007086, allocations: 53.62 kB / 393.6 MB, free: 108 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.007104, allocations: 4 kB / 393.6 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.00711, allocations: 0 / 393.6 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.007135, allocations: 0 / 393.6 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.007253, allocations: 8 kB / 393.6 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.007264, allocations: 3.984 kB / 393.6 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.007291, allocations: 11.89 kB / 393.6 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.007301, allocations: 8 kB / 393.6 MB, free: 72 kB / 314.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 0.0001284/0.007429, allocations: 109.8 kB / 393.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.007444, allocations: 4 kB / 393.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.007474, allocations: 7.688 kB / 393.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007477, allocations: 0 / 393.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.007482, allocations: 0 / 393.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.007487, allocations: 3.938 kB / 393.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.007611, allocations: 97.33 kB / 393.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007612, allocations: 0 / 393.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.567e-05/0.007697, allocations: 15.98 kB / 393.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.0077, allocations: 0 / 393.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.007709, allocations: 0 / 393.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.00771, allocations: 4 kB / 393.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.007712, allocations: 0 / 393.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.007898, allocations: 81 kB / 393.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.007914, allocations: 7.984 kB / 394 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.00793, allocations: 3.984 kB / 394 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/0.007951, allocations: 0 / 394 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.007971, allocations: 4 kB / 394 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.007976, allocations: 4 kB / 394 MB, free: 15.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.653e-05/0.008033, allocations: 83.72 kB / 394 MB, free: 15.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008033, allocations: 0 / 394 MB, free: 15.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.008233, allocations: 11.88 kB / 394.1 MB, free: 15.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 0.0001288/0.008362, allocations: 91.25 kB / 394.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.008483, allocations: 28.05 kB / 394.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.008486, allocations: 0 / 394.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.55e-05/0.008502, allocations: 4 kB / 394.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.008679, allocations: 4 kB / 394.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.00917, allocations: 164.4 kB / 394.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.677e-05/0.009247, allocations: 59.34 kB / 394.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.941e-05/0.009266, allocations: 0 / 394.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.009302, allocations: 12.5 kB / 394.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.009303, allocations: 0 / 394.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of Templates: time 0.002965/0.01227, allocations: 258.6 kB / 394.7 MB, free: 14.92 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.202449728967622]