Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, 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.03951/0.03951, allocations: 8.7 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.409/1.409, 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.001207/0.001208, allocations: 86.19 kB / 299.1 MB, free: 3.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.096e-05, allocations: 4 kB / 359.5 MB, free: 6.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2456, allocations: 52.55 MB / 412.1 MB, free: 22.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09073/0.3364, allocations: 77.85 MB / 489.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.3366, allocations: 63.97 kB / 490 MB, free: 8.547 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007019/0.3437, allocations: 3.14 MB / 493.1 MB, free: 5.371 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3437, allocations: 0 / 493.1 MB, free: 5.371 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3437, allocations: 0 / 493.1 MB, free: 5.371 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000507/0.3442, allocations: 378.4 kB / 493.5 MB, free: 4.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3443, allocations: 12.03 kB / 493.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.3443, allocations: 15.84 kB / 493.5 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3444, allocations: 167.1 kB / 493.7 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3444, allocations: 8 kB / 493.7 MB, free: 4.719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.3444, allocations: 0 / 493.7 MB, free: 4.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.3446, allocations: 61.62 kB / 493.7 MB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.3446, allocations: 0 / 493.7 MB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3446, allocations: 4 kB / 493.7 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.3446, allocations: 0 / 493.7 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.3447, allocations: 39.94 kB / 493.8 MB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.3449, allocations: 181.6 kB / 494 MB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.345, allocations: 66.58 kB / 494 MB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.3451, allocations: 24.98 kB / 494 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.3451, allocations: 224 / 494 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.3451, allocations: 34.56 kB / 494.1 MB, free: 4.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.3451, allocations: 11.88 kB / 494.1 MB, free: 4.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001645/0.3453, allocations: 73.59 kB / 494.2 MB, free: 4.148 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.3453, allocations: 55.41 kB / 494.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.701e-05/0.3454, allocations: 97 kB / 494.3 MB, free: 3.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.3454, allocations: 25.7 kB / 494.3 MB, free: 3.949 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.3455, allocations: 96.06 kB / 494.4 MB, free: 3.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.3455, allocations: 7.812 kB / 494.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.3455, allocations: 0 / 494.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.3456, allocations: 322.8 kB / 494.8 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.3456, allocations: 19.98 kB / 494.8 MB, free: 3.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.3457, allocations: 20 kB / 494.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.3457, allocations: 16 kB / 494.8 MB, free: 3.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3457, allocations: 4 kB / 494.8 MB, free: 3.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001357/0.3459, allocations: 85.97 kB / 494.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.3459, allocations: 4 kB / 494.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3459, allocations: 0 / 494.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3459, allocations: 0 / 494.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.346, allocations: 16.05 kB / 494.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.346, allocations: 0 / 494.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.3461, allocations: 4 kB / 494.9 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.3461, allocations: 0 / 494.9 MB, free: 3.348 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 (6): * Single equations (assignments): 6 * 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.808e-05/0.3462, allocations: 108.9 kB / 495 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.3462, allocations: 11.91 kB / 495 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.3464, allocations: 106.2 kB / 495.1 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.3464, allocations: 0 / 495.1 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3464, allocations: 4 kB / 495.1 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3464, allocations: 3.984 kB / 495.2 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.3465, allocations: 181.6 kB / 495.3 MB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3466, allocations: 0 / 495.3 MB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.96e-05/0.3466, allocations: 12 kB / 495.3 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3466, allocations: 0 / 495.3 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3467, allocations: 8 kB / 495.3 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3467, allocations: 4 kB / 495.4 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3467, allocations: 3.938 kB / 495.4 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.3468, allocations: 124.9 kB / 495.5 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.3469, allocations: 77.11 kB / 495.6 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3469, allocations: 0 / 495.6 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.3469, allocations: 0 / 495.6 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.347, allocations: 8 kB / 495.6 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.347, allocations: 7.984 kB / 495.6 MB, free: 2.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.199e-05/0.347, allocations: 83.28 kB / 495.6 MB, free: 2.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.347, allocations: 0 / 495.6 MB, free: 2.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.3472, allocations: 16 kB / 495.7 MB, free: 2.504 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 (8): * Single equations (assignments): 8 * 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.000116/0.3473, allocations: 115.4 kB / 495.8 MB, free: 2.383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.3475, allocations: 63.91 kB / 495.8 MB, free: 2.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.3475, allocations: 0 / 495.8 MB, free: 2.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.806e-05/0.3475, allocations: 28 kB / 495.9 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.043e-05/0.3476, allocations: 13.72 kB / 495.9 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.3478, allocations: 85.23 kB / 496 MB, free: 2.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.348, allocations: 0.6926 MB / 496.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.247e-05/0.3481, allocations: 0 / 496.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.3481, allocations: 11.44 kB / 496.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3481, allocations: 0 / 496.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of Templates: time 0.002421/0.3506, allocations: 0.8283 MB / 497.5 MB, free: 0.6172 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1)