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.001004/0.001004, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.072/1.072, allocations: 177.2 MB / 200.3 MB, free: 5.715 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.001466/0.001466, allocations: 156.6 kB / 256.9 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.0239/0.0239, allocations: 6.661 MB / 320.1 MB, free: 26.36 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.673e-06/1.673e-06, allocations: 0 / 392.1 MB, free: 2.297 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.829e-05, allocations: 10.11 kB / 392.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.003152/0.00318, allocations: 1.278 MB / 393.3 MB, free: 1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001536/0.003333, allocations: 23.89 kB / 393.4 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.003362, allocations: 0 / 393.4 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.003385, allocations: 7.984 kB / 393.4 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.003437, allocations: 3.938 kB / 393.4 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.00354, allocations: 7.938 kB / 393.4 MB, free: 0.957 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.0036, allocations: 27.84 kB / 393.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.003639, allocations: 0 / 393.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.00368, allocations: 4 kB / 393.4 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.003745, allocations: 7.984 kB / 393.4 MB, free: 0.918 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.003763, allocations: 0 / 393.4 MB, free: 0.918 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/0.003772, allocations: 0 / 393.4 MB, free: 0.918 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.003795, allocations: 4 kB / 393.4 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.003817, allocations: 7.938 kB / 393.4 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.14e-05/0.003879, allocations: 15.97 kB / 393.5 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003881, allocations: 0 / 393.5 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003882, allocations: 0 / 393.5 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.003885, allocations: 0 / 393.5 MB, free: 0.8906 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.0003117/0.004197, allocations: 352.7 kB / 393.8 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.004237, allocations: 8.031 kB / 393.8 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.004262, allocations: 8.938 kB / 393.8 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.169e-05/0.004344, allocations: 104.6 kB / 393.9 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.004355, allocations: 384 / 393.9 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.004371, allocations: 4.375 kB / 393.9 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.607e-05/0.004437, allocations: 42.19 kB / 394 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.004444, allocations: 192 / 394 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.00445, allocations: 384 / 394 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004455, allocations: 384 / 394 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.004479, allocations: 7.938 kB / 394 MB, free: 312 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.004606, allocations: 101.3 kB / 394.1 MB, free: 184 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.012e-05/0.004666, allocations: 38.98 kB / 394.1 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.004693, allocations: 23.77 kB / 394.1 MB, free: 104 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.004701, allocations: 0 / 394.1 MB, free: 104 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.004726, allocations: 33.39 kB / 394.2 MB, free: 60 kB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.004727, allocations: 4 kB / 394.2 MB, free: 56 kB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001125/0.004839, allocations: 45.64 kB / 394.2 MB, free: 4 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.004882, allocations: 51.41 kB / 394.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.004962, allocations: 157.9 kB / 394.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.004974, allocations: 25.7 kB / 394.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.005018, allocations: 130.9 kB / 394.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.00505, allocations: 15.86 kB / 394.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.005081, allocations: 27.25 kB / 394.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.005225, allocations: 0.4883 MB / 395.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.005236, allocations: 4 kB / 395.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-06/0.005246, allocations: 4.359 kB / 395.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.005281, allocations: 23.77 kB / 395.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005283, allocations: 0 / 395.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.65e-05/0.005349, allocations: 45.69 kB / 395.2 MB, free: 14.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.005362, allocations: 4 kB / 395.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.005368, allocations: 0 / 395.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.005382, allocations: 4 kB / 395.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.005459, allocations: 7.938 kB / 395.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.005463, allocations: 4 kB / 395.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.005482, allocations: 7.953 kB / 395.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.005486, allocations: 3.938 kB / 395.2 MB, free: 14.94 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.228e-05/0.005559, allocations: 160.6 kB / 395.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.00557, allocations: 7.984 kB / 395.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.005598, allocations: 7.688 kB / 395.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.0056, allocations: 0 / 395.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.005602, allocations: 0 / 395.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005605, allocations: 0 / 395.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.299e-05/0.005688, allocations: 97.2 kB / 395.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.005689, allocations: 0 / 395.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.005747, allocations: 11.98 kB / 395.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.005749, allocations: 0 / 395.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.005759, allocations: 4 kB / 395.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.00576, allocations: 4 kB / 395.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005761, allocations: 0 / 395.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.005881, allocations: 88.31 kB / 395.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.00589, allocations: 3.953 kB / 395.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.0059, allocations: 0 / 395.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.005916, allocations: 4 kB / 395.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.005931, allocations: 7.984 kB / 395.6 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.005934, allocations: 0 / 395.6 MB, free: 14.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.056e-05/0.005974, allocations: 119.2 kB / 395.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005974, allocations: 0 / 395.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000196/0.00617, allocations: 8.031 kB / 395.7 MB, free: 14.36 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 8.115e-05/0.006251, allocations: 95.19 kB / 395.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.84e-05/0.00632, allocations: 23.67 kB / 395.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.006322, allocations: 3.938 kB / 395.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-05/0.006338, allocations: 15.67 kB / 395.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.006487, allocations: 7.938 kB / 395.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.006814, allocations: 166.5 kB / 396 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.39e-05/0.006848, allocations: 55.36 kB / 396.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.575e-05/0.006863, allocations: 3.984 kB / 396.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.006904, allocations: 70.2 kB / 396.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.006904, allocations: 0 / 396.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of Templates: time 0.002048/0.008952, allocations: 284.1 kB / 396.4 MB, free: 13.59 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.9884882709011436]