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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03935/0.03935, allocations: 8.716 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 221.5 MB / 240.9 MB, free: 13.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008586/0.0008587, allocations: 92.42 kB / 293.8 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.501e-05/1.502e-05, allocations: 0 / 352.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 52.55 MB / 405.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4799, allocations: 75.42 MB / 480.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.4801, allocations: 64.59 kB / 480.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0007859/0.4809, allocations: 462.3 kB / 481.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.481, allocations: 0 / 481.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.481, allocations: 0 / 481.1 MB, free: 11.34 MB / 346.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.0001798/0.4812, allocations: 318.5 kB / 481.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4812, allocations: 13.7 kB / 481.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.4812, allocations: 7.438 kB / 481.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.143e-05/0.4813, allocations: 163.1 kB / 481.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4814, allocations: 0 / 481.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.4814, allocations: 2.375 kB / 481.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.693e-05/0.4814, allocations: 15.5 kB / 481.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.187e-05/0.4815, allocations: 27.02 kB / 481.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.4815, allocations: 4 kB / 481.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.4815, allocations: 3.953 kB / 481.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.4815, allocations: 2.219 kB / 481.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.4817, allocations: 133.9 kB / 481.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.177e-05/0.4817, allocations: 30.22 kB / 481.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.4817, allocations: 13.66 kB / 481.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.4818, allocations: 3.562 kB / 481.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.4818, allocations: 35.56 kB / 481.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4818, allocations: 1.125 kB / 481.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001083/0.4819, allocations: 34.95 kB / 481.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.4819, allocations: 59.39 kB / 482 MB, free: 10.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.926e-05/0.482, allocations: 92.88 kB / 482.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.482, allocations: 31.45 kB / 482.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.079e-05/0.482, allocations: 80.14 kB / 482.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.482, allocations: 12.03 kB / 482.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.4821, allocations: 0 / 482.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.4821, allocations: 322.1 kB / 482.5 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.4821, allocations: 4 kB / 482.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-06/0.4821, allocations: 8.781 kB / 482.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.481e-05/0.4822, allocations: 8 kB / 482.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4822, allocations: 0 / 482.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.353e-05/0.4822, allocations: 53.03 kB / 482.6 MB, free: 9.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4823, allocations: 4 kB / 482.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.4823, allocations: 0 / 482.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4823, allocations: 0 / 482.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.4824, allocations: 8 kB / 482.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4824, allocations: 0 / 482.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.4824, allocations: 2.75 kB / 482.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.4824, allocations: 6.516 kB / 482.6 MB, free: 9.727 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.4825, allocations: 112.2 kB / 482.7 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.4825, allocations: 3.984 kB / 482.7 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.4825, allocations: 6.047 kB / 482.7 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4825, allocations: 4 kB / 482.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.4826, allocations: 0 / 482.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4826, allocations: 0 / 482.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.354e-05/0.4826, allocations: 137.8 kB / 482.8 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4826, allocations: 0 / 482.8 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.4827, allocations: 8.656 kB / 482.8 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4827, allocations: 0 / 482.8 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.4827, allocations: 4 kB / 482.9 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4828, allocations: 3.938 kB / 482.9 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4828, allocations: 0 / 482.9 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.4829, allocations: 76.27 kB / 482.9 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.4829, allocations: 81.02 kB / 483 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.4829, allocations: 4.734 kB / 483 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.483, allocations: 0 / 483 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.483, allocations: 4.031 kB / 483 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.483, allocations: 4.062 kB / 483 MB, free: 9.219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.886e-05/0.483, allocations: 79.89 kB / 483.1 MB, free: 9.141 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.483, allocations: 0 / 483.1 MB, free: 9.141 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.4832, allocations: 4 kB / 483.1 MB, free: 9.137 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.564e-05/0.4833, allocations: 92.45 kB / 483.2 MB, free: 9.039 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.25e-05/0.4834, allocations: 23.95 kB / 483.2 MB, free: 9.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4834, allocations: 0 / 483.2 MB, free: 9.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/0.4834, allocations: 8.609 kB / 483.2 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.918e-05/0.4835, allocations: 4 kB / 483.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.4837, allocations: 120.4 kB / 483.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.4839, allocations: 0.6814 MB / 484 MB, free: 8.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.886e-05/0.4839, allocations: 0 / 484 MB, free: 8.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.4839, allocations: 7.438 kB / 484 MB, free: 8.176 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4839, allocations: 4 kB / 484 MB, free: 8.172 MB / 346.7 MB Notification: Performance of Templates: time 0.00167/0.4856, allocations: 228 kB / 484.3 MB, free: 7.98 MB / 346.7 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)