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.001086/0.001086, allocations: 174.7 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.03872/0.03872, 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.337/1.337, allocations: 221.4 MB / 246 MB, free: 3.543 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.0008622/0.0008623, allocations: 93.03 kB / 299.1 MB, free: 2.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.022e-05, allocations: 4 kB / 359.5 MB, free: 6.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2605, allocations: 52.53 MB / 412.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09248/0.353, allocations: 76.95 MB / 489 MB, free: 9.512 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.3533, allocations: 59.97 kB / 489.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003028/0.3563, allocations: 1.169 MB / 490.2 MB, free: 8.285 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3563, allocations: 0 / 490.2 MB, free: 8.285 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3563, allocations: 0 / 490.2 MB, free: 8.285 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002592/0.3566, allocations: 370.3 kB / 490.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3567, allocations: 8.031 kB / 490.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.3567, allocations: 91.05 kB / 490.7 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.357, allocations: 282.9 kB / 491 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.3571, allocations: 158.6 kB / 491.1 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.3571, allocations: 150.6 kB / 491.3 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.943e-05/0.3572, allocations: 101 kB / 491.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.3572, allocations: 75.28 kB / 491.4 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.3573, allocations: 154.7 kB / 491.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.3573, allocations: 154.6 kB / 491.7 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.3574, allocations: 158.5 kB / 491.9 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.3577, allocations: 481.9 kB / 492.4 MB, free: 5.996 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.74e-05/0.3578, allocations: 165.1 kB / 492.5 MB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.3578, allocations: 80.14 kB / 492.6 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.3579, allocations: 87.22 kB / 492.7 MB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.3579, allocations: 105.8 kB / 492.8 MB, free: 5.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.3579, allocations: 4 kB / 492.8 MB, free: 5.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.925e-05/0.358, allocations: 33.61 kB / 492.8 MB, free: 5.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.3581, allocations: 126.7 kB / 492.9 MB, free: 5.363 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.3583, allocations: 207.1 kB / 493.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3583, allocations: 29.7 kB / 493.2 MB, free: 5.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.3584, allocations: 116.1 kB / 493.3 MB, free: 5.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-06/0.3584, allocations: 4 kB / 493.3 MB, free: 5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-07/0.3584, allocations: 3.938 kB / 493.3 MB, free: 4.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3585, allocations: 334.8 kB / 493.6 MB, free: 4.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-06/0.3586, allocations: 0 / 493.6 MB, free: 4.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.3586, allocations: 3.938 kB / 493.6 MB, free: 4.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.3586, allocations: 75.28 kB / 493.7 MB, free: 4.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/0.3586, allocations: 75.28 kB / 493.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.072e-05/0.3587, allocations: 45.52 kB / 493.8 MB, free: 4.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.3587, allocations: 81.16 kB / 493.9 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.3588, allocations: 79.28 kB / 494 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.661e-05/0.3588, allocations: 154.5 kB / 494.1 MB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.438e-05/0.3589, allocations: 75.28 kB / 494.2 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.246e-05/0.3589, allocations: 154.5 kB / 494.4 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.58e-05/0.359, allocations: 91.56 kB / 494.4 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3591, allocations: 83.28 kB / 494.5 MB, free: 3.75 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 (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 9.57e-05/0.3592, allocations: 261.5 kB / 494.8 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.3592, allocations: 112.9 kB / 494.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.547e-05/0.3593, allocations: 125.5 kB / 495 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.039e-05/0.3594, allocations: 184.2 kB / 495.2 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.058e-05/0.3595, allocations: 180.3 kB / 495.4 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.794e-05/0.3595, allocations: 176.3 kB / 495.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.3598, allocations: 445.1 kB / 496 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/0.3599, allocations: 101 kB / 496.1 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.3599, allocations: 108.9 kB / 496.2 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.525e-05/0.36, allocations: 184.3 kB / 496.4 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.3601, allocations: 184.2 kB / 496.5 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.344e-05/0.3601, allocations: 176.3 kB / 496.7 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-05/0.3602, allocations: 180.3 kB / 496.9 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.3603, allocations: 324.4 kB / 497.2 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.3604, allocations: 197.8 kB / 497.4 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.3605, allocations: 180.3 kB / 497.6 MB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.3606, allocations: 105 kB / 497.7 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.761e-05/0.3607, allocations: 184.2 kB / 497.9 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.3608, allocations: 101.5 kB / 498 MB, free: 100 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001742/0.3609, allocations: 177.5 kB / 498.1 MB, free: 15.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3609, allocations: 0 / 498.1 MB, free: 15.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.3612, allocations: 4 kB / 498.1 MB, free: 15.92 MB / 378.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 0.0001204/0.3613, allocations: 170.5 kB / 498.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 3.468e-05/0.3614, allocations: 3.938 kB / 498.3 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3614, allocations: 0 / 498.3 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.3614, allocations: 0 / 498.3 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.3617, allocations: 0.5341 MB / 498.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.362, allocations: 230.9 kB / 499.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.3624, allocations: 0.7199 MB / 499.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.939e-05/0.3624, allocations: 0 / 499.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.3625, allocations: 7.438 kB / 499.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3625, allocations: 0 / 499.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of Templates: time 0.002811/0.3653, allocations: 284.4 kB / 0.4883 GB, free: 13.92 MB / 378.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)