Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 170.3 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07255/0.07255, allocations: 8.716 MB / 16.79 MB, free: 3.387 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.385/1.385, allocations: 221.5 MB / 240.8 MB, free: 13.22 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.0008953/0.0008954, allocations: 89.27 kB / 293.9 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.427e-05, allocations: 0 / 352.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1761, allocations: 52.55 MB / 405.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4708/0.6469, allocations: 76.28 MB / 481.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.6472, allocations: 61.03 kB / 481.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004025/0.6513, allocations: 1.147 MB / 482.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6513, allocations: 0 / 482.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.6513, allocations: 4 kB / 482.7 MB, free: 10.01 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002472/0.6516, allocations: 367 kB / 483 MB, free: 9.617 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6517, allocations: 11.98 kB / 483 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.6517, allocations: 94.53 kB / 483.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.6519, allocations: 280.9 kB / 483.4 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.652, allocations: 150.6 kB / 483.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.652, allocations: 154.5 kB / 483.7 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.383e-05/0.6521, allocations: 158.7 kB / 483.9 MB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.787e-05/0.6521, allocations: 105 kB / 484 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.6521, allocations: 75.28 kB / 484 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.6522, allocations: 157.4 kB / 484.2 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.6522, allocations: 150.6 kB / 484.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.6525, allocations: 461.2 kB / 484.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.549e-05/0.6526, allocations: 173 kB / 485 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.6526, allocations: 84.08 kB / 485 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.6526, allocations: 79.28 kB / 485.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.6527, allocations: 109.8 kB / 485.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.6527, allocations: 0 / 485.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 9.75e-05/0.6528, allocations: 37.61 kB / 485.3 MB, free: 7.297 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.6528, allocations: 51.41 kB / 485.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.6531, allocations: 203.8 kB / 485.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.6531, allocations: 29.69 kB / 485.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.6532, allocations: 113.3 kB / 485.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.6532, allocations: 0 / 485.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-07/0.6532, allocations: 0 / 485.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.6532, allocations: 336.9 kB / 486 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-06/0.6533, allocations: 4 kB / 486 MB, free: 6.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.6533, allocations: 3.938 kB / 486 MB, free: 6.586 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.536e-05/0.6533, allocations: 75.28 kB / 486.1 MB, free: 6.512 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.6533, allocations: 75.28 kB / 486.1 MB, free: 6.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.953e-05/0.6534, allocations: 41.52 kB / 486.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.6535, allocations: 79.28 kB / 486.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.6535, allocations: 77.8 kB / 486.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.264e-05/0.6536, allocations: 158.5 kB / 486.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.469e-05/0.6536, allocations: 79.91 kB / 486.6 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-05/0.6536, allocations: 154.5 kB / 486.7 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.6537, allocations: 79.22 kB / 486.8 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.6538, allocations: 79.02 kB / 486.9 MB, free: 5.699 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 (0): * Single equations (assignments): 0 * 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.629e-05/0.6538, allocations: 259.5 kB / 487.1 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.6539, allocations: 117.5 kB / 487.2 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.654, allocations: 129.4 kB / 487.4 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.654, allocations: 176.3 kB / 487.5 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.061e-05/0.654, allocations: 179 kB / 487.7 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/0.6541, allocations: 180.2 kB / 487.9 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.6543, allocations: 426.2 kB / 488.3 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/0.6543, allocations: 105.8 kB / 488.4 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.6544, allocations: 104.9 kB / 488.5 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.787e-05/0.6544, allocations: 176.3 kB / 488.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.6544, allocations: 180.2 kB / 488.9 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.84e-05/0.6545, allocations: 184.2 kB / 489 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.124e-05/0.6545, allocations: 180.3 kB / 489.2 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.828e-05/0.6546, allocations: 320.1 kB / 489.5 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.6547, allocations: 193.9 kB / 489.7 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.6547, allocations: 176.3 kB / 489.9 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.6548, allocations: 113.5 kB / 490 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.6549, allocations: 188.7 kB / 490.2 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.6549, allocations: 101 kB / 490.3 MB, free: 2.105 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001572/0.6551, allocations: 166.8 kB / 490.4 MB, free: 1.961 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6551, allocations: 0 / 490.4 MB, free: 1.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004223/0.6555, allocations: 4 kB / 490.4 MB, free: 1.957 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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 9.635e-05/0.6556, allocations: 167.3 kB / 490.6 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 3.444e-05/0.6557, allocations: 12.41 kB / 490.6 MB, free: 1.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6557, allocations: 0 / 490.6 MB, free: 1.773 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.6557, allocations: 0 / 490.6 MB, free: 1.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.656, allocations: 0.524 MB / 491.1 MB, free: 1.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.6563, allocations: 231.9 kB / 491.4 MB, free: 1.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.6565, allocations: 0.7173 MB / 492.1 MB, free: 272 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.481e-05/0.6566, allocations: 4 kB / 492.1 MB, free: 268 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.6566, allocations: 7.438 kB / 492.1 MB, free: 264 kB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6566, allocations: 0 / 492.1 MB, free: 264 kB / 346.7 MB Notification: Performance of Templates: time 0.002643/0.6592, allocations: 257.3 kB / 492.3 MB, free: 44 kB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)