Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.3 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000948/0.0009481, allocations: 172.5 kB / 291.3 MB, free: 2.035 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03439/0.03439, allocations: 8.809 MB / 351.2 MB, free: 4.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 9.406 kB / 414.5 MB, free: 42.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06405/0.06438, allocations: 52.56 MB / 467 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.00051/0.06493, allocations: 238.2 kB / 467.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001053/0.06504, allocations: 23.94 kB / 467.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.661e-05/0.06507, allocations: 0 / 467.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.06509, allocations: 3.938 kB / 467.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.06514, allocations: 0 / 467.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.757e-05/0.06523, allocations: 8 kB / 467.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.923e-05/0.06528, allocations: 7.938 kB / 467.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.06532, allocations: 7.984 kB / 467.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.06535, allocations: 11.94 kB / 467.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.06539, allocations: 4 kB / 467.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.06541, allocations: 0 / 467.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-06/0.06542, allocations: 4 kB / 467.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.06544, allocations: 7.875 kB / 467.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.06548, allocations: 33.69 kB / 467.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.003e-05/0.06552, allocations: 7.922 kB / 467.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.06552, allocations: 0 / 467.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.06553, allocations: 0 / 467.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.06554, allocations: 0 / 467.4 MB, free: 12.76 MB / 302.1 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.0002743/0.06581, allocations: 338 kB / 467.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.06585, allocations: 8.031 kB / 467.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.06588, allocations: 4.938 kB / 467.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.71e-05/0.06597, allocations: 160.4 kB / 467.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.06599, allocations: 384 / 467.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.06601, allocations: 4.375 kB / 467.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.473e-05/0.06609, allocations: 42.19 kB / 467.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.06611, allocations: 192 / 467.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.06612, allocations: 3.938 kB / 467.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.06613, allocations: 3.984 kB / 467.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.867e-05/0.06616, allocations: 7.938 kB / 467.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.0663, allocations: 157.7 kB / 468.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/0.06637, allocations: 38.61 kB / 468.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.0664, allocations: 12.86 kB / 468.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.06642, allocations: 0 / 468.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.06644, allocations: 34.56 kB / 468.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.06645, allocations: 4 kB / 468.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001166/0.06657, allocations: 53.66 kB / 468.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.06661, allocations: 55.41 kB / 468.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.121e-05/0.06666, allocations: 93.84 kB / 468.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.06668, allocations: 29.7 kB / 468.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.06671, allocations: 84.14 kB / 468.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.06674, allocations: 7.812 kB / 468.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.06677, allocations: 9.719 kB / 468.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.06686, allocations: 322.8 kB / 468.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.06688, allocations: 8 kB / 468.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.06689, allocations: 0 / 468.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.494e-05/0.06693, allocations: 20.86 kB / 468.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.06694, allocations: 4 kB / 468.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.565e-05/0.06701, allocations: 49.62 kB / 468.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.06703, allocations: 6.188 kB / 468.9 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.06704, allocations: 3.938 kB / 468.9 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-06/0.06705, allocations: 0 / 468.9 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.556e-05/0.06713, allocations: 11.98 kB / 468.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.06714, allocations: 4 kB / 468.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.06716, allocations: 0 / 468.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-06/0.06717, allocations: 4 kB / 468.9 MB, free: 10.98 MB / 302.1 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 5.676e-05/0.06723, allocations: 113.7 kB / 469 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-06/0.06725, allocations: 7.844 kB / 469.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.06727, allocations: 15.44 kB / 469.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.06728, allocations: 0 / 469.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.06729, allocations: 0.5156 kB / 469.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.06729, allocations: 3.938 kB / 469.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.74e-05/0.06739, allocations: 161.7 kB / 469.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.0674, allocations: 0 / 469.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.06746, allocations: 15.92 kB / 469.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.06747, allocations: 0 / 469.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.06749, allocations: 3.938 kB / 469.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.06749, allocations: 0 / 469.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.0675, allocations: 4 kB / 469.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.06761, allocations: 77.11 kB / 469.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.06764, allocations: 77.17 kB / 469.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.06766, allocations: 7.938 kB / 469.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.06769, allocations: 3.984 kB / 469.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.0677, allocations: 0 / 469.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.06771, allocations: 4.031 kB / 469.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.649e-05/0.06774, allocations: 75.28 kB / 469.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06775, allocations: 0 / 469.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.06793, allocations: 8 kB / 469.5 MB, free: 10.31 MB / 302.1 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.47e-05/0.068, allocations: 99.19 kB / 469.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.092e-05/0.06807, allocations: 19.98 kB / 469.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.06808, allocations: 0 / 469.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.06809, allocations: 8 kB / 469.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.06823, allocations: 2.25 kB / 469.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.06854, allocations: 242.6 kB / 469.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.06873, allocations: 0.6731 MB / 470.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.06875, allocations: 11.44 kB / 470.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.06876, allocations: 3.938 kB / 470.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of Templates: time 0.001482/0.07024, allocations: 483.7 kB / 471 MB, free: 8.719 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1)