Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03978/0.03978, allocations: 8.702 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.4 MB / 246 MB, free: 3.605 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.000877/0.000877, allocations: 95.7 kB / 299.1 MB, free: 2.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.313e-05, allocations: 4 kB / 359.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2754, allocations: 52.54 MB / 412.1 MB, free: 22.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0986/0.374, allocations: 76.88 MB / 488.9 MB, free: 9.531 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.3743, allocations: 63.97 kB / 489 MB, free: 9.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003737/0.3781, allocations: 1.157 MB / 490.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3781, allocations: 0 / 490.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.3781, allocations: 0 / 490.2 MB, free: 8.324 MB / 362.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.0003227/0.3784, allocations: 358.3 kB / 490.5 MB, free: 7.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.3785, allocations: 12.03 kB / 490.5 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.3786, allocations: 15.77 kB / 490.5 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.3789, allocations: 223.4 kB / 490.8 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3789, allocations: 4 kB / 490.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.3789, allocations: 0 / 490.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3791, allocations: 41.69 kB / 490.8 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3791, allocations: 7.922 kB / 490.8 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3791, allocations: 0 / 490.8 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3791, allocations: 3.953 kB / 490.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.766e-05/0.3792, allocations: 8 kB / 490.8 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.3794, allocations: 189.7 kB / 491 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.36e-05/0.3795, allocations: 38.52 kB / 491 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.3795, allocations: 16.94 kB / 491.1 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3795, allocations: 0 / 491.1 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3796, allocations: 34.56 kB / 491.1 MB, free: 7.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.815e-06/0.3796, allocations: 0 / 491.1 MB, free: 7.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001603/0.3797, allocations: 57.53 kB / 491.1 MB, free: 7.168 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3798, allocations: 55.41 kB / 491.2 MB, free: 7.102 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.38, allocations: 197.5 kB / 491.4 MB, free: 6.902 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3801, allocations: 25.7 kB / 491.4 MB, free: 6.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.3801, allocations: 108.1 kB / 491.5 MB, free: 6.762 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.3802, allocations: 7.812 kB / 491.5 MB, free: 6.754 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.3802, allocations: 4 kB / 491.5 MB, free: 6.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3803, allocations: 322.8 kB / 491.9 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.3803, allocations: 4 kB / 491.9 MB, free: 6.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.301e-05/0.3803, allocations: 4 kB / 491.9 MB, free: 6.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.3804, allocations: 11.98 kB / 491.9 MB, free: 6.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3804, allocations: 4 kB / 491.9 MB, free: 6.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.289e-05/0.3805, allocations: 61.53 kB / 491.9 MB, free: 6.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3805, allocations: 7.938 kB / 491.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3805, allocations: 0 / 491.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3805, allocations: 0 / 491.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.3806, allocations: 7.984 kB / 492 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3806, allocations: 4 kB / 492 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.3807, allocations: 3.938 kB / 492 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3807, allocations: 3.953 kB / 492 MB, free: 6.309 MB / 362.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 (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 prepare postOptimizeDAE: time 6.541e-05/0.3808, allocations: 109 kB / 492.1 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.3808, allocations: 15.8 kB / 492.1 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.3809, allocations: 70.72 kB / 492.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3809, allocations: 4 kB / 492.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3809, allocations: 0 / 492.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.381, allocations: 0 / 492.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.3811, allocations: 189.6 kB / 492.3 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3811, allocations: 0 / 492.3 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.3812, allocations: 4 kB / 492.3 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3812, allocations: 0 / 492.3 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.3812, allocations: 4 kB / 492.4 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3812, allocations: 7.984 kB / 492.4 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3812, allocations: 0 / 492.4 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.3813, allocations: 84.97 kB / 492.4 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.3814, allocations: 92.92 kB / 492.5 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3814, allocations: 0 / 492.5 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.3815, allocations: 11.92 kB / 492.5 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.3815, allocations: 3.938 kB / 492.5 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.3815, allocations: 4 kB / 492.6 MB, free: 5.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.3816, allocations: 164.3 kB / 492.7 MB, free: 5.449 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3816, allocations: 0 / 492.7 MB, free: 5.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.3818, allocations: 16 kB / 492.7 MB, free: 5.434 MB / 362.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 (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 0.0001082/0.3819, allocations: 99.23 kB / 492.8 MB, free: 5.328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.241e-05/0.382, allocations: 16 kB / 492.8 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.382, allocations: 0 / 492.8 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.3821, allocations: 15.92 kB / 492.9 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.3822, allocations: 13.52 kB / 492.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.3825, allocations: 133 kB / 493 MB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3828, allocations: 0.7082 MB / 493.7 MB, free: 4.398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.876e-05/0.3829, allocations: 16.16 kB / 493.7 MB, free: 4.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.3829, allocations: 11.44 kB / 493.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3829, allocations: 0 / 493.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of Templates: time 0.002402/0.3853, allocations: 0.5275 MB / 494.3 MB, free: 3.84 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1)