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.001092/0.001092, allocations: 99.25 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240 MB, free: 4.52 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.001249/0.001249, allocations: 188.5 kB / 290.3 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03614/0.03614, allocations: 8.814 MB / 349.3 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 78.41 kB / 412.5 MB, free: 41.67 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.0854, allocations: 51.57 MB / 464.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001546/0.08698, allocations: 0.499 MB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000111/0.08711, allocations: 27.89 kB / 464.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.08714, allocations: 0 / 464.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.071e-05/0.08716, allocations: 0 / 464.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.944e-05/0.08721, allocations: 3.938 kB / 464.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.495e-05/0.08731, allocations: 8 kB / 464.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.202e-05/0.08737, allocations: 15.92 kB / 464.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.08742, allocations: 0 / 464.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.08745, allocations: 11.92 kB / 464.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.0875, allocations: 4 kB / 464.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.08752, allocations: 4 kB / 464.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.08753, allocations: 4 kB / 464.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.08755, allocations: 3.984 kB / 464.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.08758, allocations: 7.938 kB / 464.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.85e-05/0.08763, allocations: 7.938 kB / 464.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.08764, allocations: 4 kB / 464.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.08765, allocations: 0 / 464.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.08766, allocations: 0 / 464.7 MB, free: 12.95 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.0003153/0.08798, allocations: 327.4 kB / 465 MB, free: 12.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.08801, allocations: 12.03 kB / 465 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.08805, allocations: 4.938 kB / 465 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.945e-05/0.08815, allocations: 168.3 kB / 465.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.08817, allocations: 4.375 kB / 465.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.08819, allocations: 4.375 kB / 465.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.669e-05/0.08827, allocations: 30.27 kB / 465.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.08829, allocations: 4.172 kB / 465.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.0883, allocations: 3.938 kB / 465.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.08831, allocations: 0 / 465.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.08835, allocations: 11.98 kB / 465.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.08849, allocations: 161.7 kB / 465.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.897e-05/0.08856, allocations: 34.52 kB / 465.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.0886, allocations: 20.94 kB / 465.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.08862, allocations: 0 / 465.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.08864, allocations: 30.56 kB / 465.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.08864, allocations: 0 / 465.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001236/0.08877, allocations: 57.47 kB / 465.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.08881, allocations: 59.41 kB / 465.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.116e-05/0.08888, allocations: 101.8 kB / 465.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.0889, allocations: 25.7 kB / 465.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.08893, allocations: 80.14 kB / 465.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.08896, allocations: 7.891 kB / 465.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.08899, allocations: 17.72 kB / 465.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.08909, allocations: 314.8 kB / 466.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.08911, allocations: 12 kB / 466.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.08913, allocations: 7.984 kB / 466.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.08917, allocations: 16.86 kB / 466.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.08918, allocations: 3.938 kB / 466.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.568e-05/0.08925, allocations: 49.62 kB / 466.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.08926, allocations: 8 kB / 466.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.08927, allocations: 3.938 kB / 466.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.08929, allocations: 0 / 466.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.08937, allocations: 8 kB / 466.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.08938, allocations: 0 / 466.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.08941, allocations: 11.91 kB / 466.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-06/0.08942, allocations: 0 / 466.2 MB, free: 11.16 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 6.279e-05/0.08948, allocations: 121.8 kB / 466.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.0895, allocations: 0.5156 kB / 466.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.08952, allocations: 11.44 kB / 466.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.08953, allocations: 0 / 466.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.08954, allocations: 4 kB / 466.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.08954, allocations: 0 / 466.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.598e-05/0.08963, allocations: 153.7 kB / 466.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.08964, allocations: 4 kB / 466.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.08971, allocations: 8 kB / 466.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.08972, allocations: 0 / 466.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.08973, allocations: 7.938 kB / 466.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.08974, allocations: 0 / 466.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.08975, allocations: 3.938 kB / 466.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.08986, allocations: 73.11 kB / 466.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.0899, allocations: 85.08 kB / 466.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.08993, allocations: 12 kB / 466.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/0.08995, allocations: 0 / 466.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-06/0.08996, allocations: 0 / 466.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.08997, allocations: 0 / 466.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.031e-05/0.09, allocations: 83.27 kB / 466.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09001, allocations: 0 / 466.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001769/0.09019, allocations: 4 kB / 466.8 MB, free: 10.5 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.581e-05/0.09026, allocations: 91.25 kB / 466.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.066e-05/0.09035, allocations: 23.94 kB / 466.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.09036, allocations: 0 / 466.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.09038, allocations: 11.98 kB / 466.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.09052, allocations: 6.109 kB / 466.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.09087, allocations: 192.6 kB / 467.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.09107, allocations: 0.6845 MB / 467.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.283e-05/0.09109, allocations: 0 / 467.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.09112, allocations: 7.438 kB / 467.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09112, allocations: 0 / 467.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of Templates: time 0.001837/0.09296, allocations: 249.1 kB / 468.1 MB, free: 9.184 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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1)