Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001339, allocations: 176.2 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.06013/0.06013, allocations: 8.712 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.412/1.412, allocations: 221.5 MB / 240.8 MB, free: 13.12 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.0009127/0.0009128, allocations: 99.61 kB / 293.9 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.491e-05, allocations: 0 / 352.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.167, allocations: 52.54 MB / 405.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.5109, allocations: 75.41 MB / 480.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.5111, allocations: 65.34 kB / 480.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.000712/0.5118, allocations: 439.2 kB / 481.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5118, allocations: 0 / 481.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.5119, allocations: 4 kB / 481.1 MB, free: 11.41 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.000184/0.512, allocations: 314.5 kB / 481.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.5121, allocations: 11.98 kB / 481.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.5121, allocations: 8.375 kB / 481.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.5122, allocations: 163 kB / 481.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.5122, allocations: 1.312 kB / 481.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.5123, allocations: 4 kB / 481.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.457e-05/0.5123, allocations: 7.625 kB / 481.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.681e-05/0.5124, allocations: 34.19 kB / 481.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.5124, allocations: 3.156 kB / 481.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.5124, allocations: 3.953 kB / 481.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.5124, allocations: 0 / 481.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.5125, allocations: 135.3 kB / 481.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.868e-05/0.5126, allocations: 34.08 kB / 481.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.5126, allocations: 12.98 kB / 481.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.5126, allocations: 2.203 kB / 481.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.5127, allocations: 33.03 kB / 481.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5127, allocations: 0 / 481.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001013/0.5128, allocations: 43.03 kB / 481.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.513e-05/0.5128, allocations: 51.41 kB / 481.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.916e-05/0.5128, allocations: 93.59 kB / 482 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-06/0.5129, allocations: 29.61 kB / 482 MB, free: 10.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.5129, allocations: 81.3 kB / 482.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.5129, allocations: 17.36 kB / 482.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/0.5129, allocations: 0 / 482.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.513, allocations: 320.8 kB / 482.5 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.513, allocations: 0 / 482.5 MB, free: 9.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.513, allocations: 11.69 kB / 482.5 MB, free: 9.891 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.795e-05/0.513, allocations: 4 kB / 482.5 MB, free: 9.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.513, allocations: 4 kB / 482.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.406e-05/0.5131, allocations: 48.97 kB / 482.5 MB, free: 9.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5131, allocations: 5.719 kB / 482.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5131, allocations: 0 / 482.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.5131, allocations: 0 / 482.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.5132, allocations: 11.98 kB / 482.5 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5133, allocations: 0 / 482.5 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.5133, allocations: 0 / 482.5 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.5133, allocations: 6.516 kB / 482.5 MB, free: 9.812 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 5.717e-05/0.5133, allocations: 112.2 kB / 482.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.5134, allocations: 0.8438 kB / 482.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.5134, allocations: 8.125 kB / 482.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.5134, allocations: 0 / 482.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5134, allocations: 2.75 kB / 482.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5134, allocations: 0 / 482.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.679e-05/0.5135, allocations: 142.2 kB / 482.8 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5135, allocations: 0 / 482.8 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/0.5136, allocations: 8 kB / 482.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5136, allocations: 0 / 482.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.5136, allocations: 3.984 kB / 482.8 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.5136, allocations: 4 kB / 482.8 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5136, allocations: 2.156 kB / 482.8 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.5137, allocations: 76.27 kB / 482.9 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.5137, allocations: 81.02 kB / 483 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.5138, allocations: 4.031 kB / 483 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.595e-05/0.5138, allocations: 0 / 483 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.5138, allocations: 0 / 483 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.5138, allocations: 0.6562 kB / 483 MB, free: 9.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.723e-05/0.5138, allocations: 87.33 kB / 483.1 MB, free: 9.227 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5138, allocations: 0 / 483.1 MB, free: 9.227 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000199/0.514, allocations: 4 kB / 483.1 MB, free: 9.223 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 7.514e-05/0.5141, allocations: 96.39 kB / 483.2 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.047e-05/0.5142, allocations: 12.8 kB / 483.2 MB, free: 9.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5142, allocations: 4 kB / 483.2 MB, free: 9.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.828e-06/0.5142, allocations: 8.344 kB / 483.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.17e-05/0.5143, allocations: 4 kB / 483.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001756/0.5145, allocations: 74.89 kB / 483.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.412e-05/0.5146, allocations: 0.6807 MB / 483.9 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.512e-05/0.5146, allocations: 0 / 483.9 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/0.5146, allocations: 7.438 kB / 484 MB, free: 8.301 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5146, allocations: 0 / 484 MB, free: 8.301 MB / 346.7 MB Notification: Performance of Templates: time 0.001624/0.5163, allocations: 227.8 kB / 484.2 MB, free: 8.109 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1)