Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.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.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, 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.04027/0.04027, 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.352/1.352, allocations: 221.5 MB / 240.9 MB, free: 13.13 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.0008833/0.0008833, allocations: 95.53 kB / 293.8 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.507e-05/1.51e-05, allocations: 0 / 352.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1096, allocations: 52.56 MB / 405.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.4685, allocations: 75.72 MB / 480.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4687, allocations: 60.72 kB / 481 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001513/0.4702, allocations: 0.6095 MB / 481.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4703, allocations: 0 / 481.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.4703, allocations: 0.5312 kB / 481.6 MB, free: 10.91 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002127/0.4705, allocations: 318.9 kB / 481.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4706, allocations: 13.14 kB / 481.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.4706, allocations: 3.438 kB / 481.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.4707, allocations: 167.1 kB / 482.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.4708, allocations: 2.469 kB / 482.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.4708, allocations: 0 / 482.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.988e-05/0.4708, allocations: 4 kB / 482.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.608e-05/0.4709, allocations: 46.92 kB / 482.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.4709, allocations: 0 / 482.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.4709, allocations: 4.547 kB / 482.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.4709, allocations: 0.5312 kB / 482.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.4712, allocations: 146.8 kB / 482.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.174e-05/0.4713, allocations: 32.44 kB / 482.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.4713, allocations: 17.66 kB / 482.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.4713, allocations: 7.016 kB / 482.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.4713, allocations: 35.06 kB / 482.4 MB, free: 9.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.4713, allocations: 0 / 482.4 MB, free: 9.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001316/0.4715, allocations: 33.7 kB / 482.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.4715, allocations: 78.86 kB / 482.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.4716, allocations: 104.2 kB / 482.6 MB, free: 9.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.4716, allocations: 25.7 kB / 482.6 MB, free: 9.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.007e-05/0.4716, allocations: 83.58 kB / 482.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.4717, allocations: 7.469 kB / 482.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.4717, allocations: 0 / 482.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.4717, allocations: 322.7 kB / 483 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.4717, allocations: 3.625 kB / 483 MB, free: 9.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.4718, allocations: 34.86 kB / 483 MB, free: 9.277 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.039e-05/0.4718, allocations: 4 kB / 483 MB, free: 9.273 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4718, allocations: 4 kB / 483 MB, free: 9.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.288e-05/0.4719, allocations: 57.44 kB / 483.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4719, allocations: 4 kB / 483.1 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4719, allocations: 128 / 483.1 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4719, allocations: 8 kB / 483.1 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-05/0.472, allocations: 4 kB / 483.1 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.472, allocations: 2.516 kB / 483.1 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.415e-05/0.472, allocations: 10.86 kB / 483.1 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.472, allocations: 3.938 kB / 483.1 MB, free: 9.188 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 4.484e-05/0.4721, allocations: 108.9 kB / 483.2 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.4721, allocations: 0 / 483.2 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.4721, allocations: 7.734 kB / 483.2 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4721, allocations: 0 / 483.2 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4722, allocations: 8 kB / 483.3 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4722, allocations: 0 / 483.3 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.4723, allocations: 145.8 kB / 483.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4723, allocations: 0 / 483.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.4723, allocations: 4.656 kB / 483.4 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4723, allocations: 1.25 kB / 483.4 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.4724, allocations: 0 / 483.4 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4724, allocations: 0 / 483.4 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4724, allocations: 0 / 483.4 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.4725, allocations: 98.81 kB / 483.5 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.4725, allocations: 81.02 kB / 483.6 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4725, allocations: 0.75 kB / 483.6 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.475e-05/0.4726, allocations: 3.984 kB / 483.6 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.4726, allocations: 4 kB / 483.6 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.4726, allocations: 4.344 kB / 483.6 MB, free: 8.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.668e-05/0.4726, allocations: 87.06 kB / 483.7 MB, free: 8.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4726, allocations: 1.312 kB / 483.7 MB, free: 8.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.4729, allocations: 8 kB / 483.7 MB, free: 8.566 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 0.0001279/0.473, allocations: 103.2 kB / 483.8 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.162e-05/0.4731, allocations: 20.22 kB / 483.8 MB, free: 8.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4731, allocations: 4 kB / 483.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.123e-05/0.4731, allocations: 0 / 483.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.4733, allocations: 9.828 kB / 483.8 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.4735, allocations: 90.14 kB / 483.9 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.4736, allocations: 0.6768 MB / 484.6 MB, free: 7.621 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.852e-05/0.4736, allocations: 8.375 kB / 484.6 MB, free: 7.613 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.4736, allocations: 10.88 kB / 484.6 MB, free: 7.609 MB / 346.7 MB Notification: Performance of SimCode: time 9.81e-07/0.4737, allocations: 0 / 484.6 MB, free: 7.609 MB / 346.7 MB Notification: Performance of Templates: time 0.002017/0.4757, allocations: 342.1 kB / 484.9 MB, free: 7.305 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.Classes.TestVector2D.makefile (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & ./HanserModelica_HanserModelica.Classes.TestVector2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)