Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.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.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004367/0.004367, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03701/0.03701, allocations: 8.794 MB / 24.65 MB, free: 4.113 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.229/1.229, allocations: 223.2 MB / 250.7 MB, free: 4.82 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.0008912/0.0008911, allocations: 95.09 kB / 304 MB, free: 3.52 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003197, allocations: 12 kB / 367.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09057, allocations: 52.54 MB / 419.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.3236, allocations: 80.47 MB / 0.4884 GB, free: 12.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.3238, allocations: 72.67 kB / 0.4884 GB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02316/0.347, allocations: 9.668 MB / 0.4979 GB, free: 2.445 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.347, allocations: 3.938 kB / 0.4979 GB, free: 2.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.347, allocations: 0 / 0.4979 GB, free: 2.441 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.0003444/0.3474, allocations: 422.5 kB / 0.4983 GB, free: 1.984 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.3474, allocations: 8.562 kB / 0.4983 GB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.3477, allocations: 110 kB / 0.4984 GB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.3494, allocations: 0.7686 MB / 0.4991 GB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.3495, allocations: 155.9 kB / 0.4993 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.3495, allocations: 150.6 kB / 0.4994 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.98e-05/0.3496, allocations: 102.8 kB / 0.4995 GB, free: 0.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.3496, allocations: 75.28 kB / 0.4996 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.3497, allocations: 151.6 kB / 0.4998 GB, free: 456 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.731e-05/0.3497, allocations: 158.6 kB / 0.4999 GB, free: 296 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.245e-05/0.3498, allocations: 157.7 kB / 0.5001 GB, free: 140 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.35, allocations: 465.9 kB / 0.5005 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.933e-05/0.3501, allocations: 167.6 kB / 0.5007 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3501, allocations: 75.28 kB / 0.5007 GB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.3502, allocations: 111.8 kB / 0.5008 GB, free: 15.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3502, allocations: 0 / 0.5008 GB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.491e-05/0.3502, allocations: 37.55 kB / 0.5009 GB, free: 15.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.3503, allocations: 127.3 kB / 0.501 GB, free: 15.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3504, allocations: 151.4 kB / 0.5011 GB, free: 14.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.3505, allocations: 25.7 kB / 0.5012 GB, free: 14.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.3505, allocations: 101.1 kB / 0.5013 GB, free: 14.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-06/0.3505, allocations: 0 / 0.5013 GB, free: 14.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.3505, allocations: 0 / 0.5013 GB, free: 14.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.3506, allocations: 323.5 kB / 0.5016 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-06/0.3506, allocations: 1.281 kB / 0.5016 GB, free: 14.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-06/0.3506, allocations: 0 / 0.5016 GB, free: 14.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.3507, allocations: 75.28 kB / 0.5016 GB, free: 14.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.3507, allocations: 76.03 kB / 0.5017 GB, free: 14.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.287e-05/0.3508, allocations: 38.81 kB / 0.5018 GB, free: 14.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.3508, allocations: 87.22 kB / 0.5018 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.3508, allocations: 75.94 kB / 0.5019 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.086e-05/0.3509, allocations: 153.2 kB / 0.5021 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.87e-05/0.3509, allocations: 85.75 kB / 0.5021 GB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.97e-05/0.351, allocations: 156.5 kB / 0.5023 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.351, allocations: 79.22 kB / 0.5024 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3511, allocations: 80.73 kB / 0.5024 GB, free: 13.59 MB / 378.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 () * Number of clocked 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 0.0001118/0.3512, allocations: 282.8 kB / 0.5027 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.3512, allocations: 113.8 kB / 0.5028 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.3513, allocations: 112.8 kB / 0.5029 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-05/0.3514, allocations: 180.3 kB / 0.5031 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.493e-05/0.3514, allocations: 185.2 kB / 0.5033 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.577e-05/0.3515, allocations: 180.2 kB / 0.5034 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.3517, allocations: 418.7 kB / 0.5038 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.3517, allocations: 108.9 kB / 0.5039 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.3518, allocations: 110.1 kB / 0.5041 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.268e-05/0.3518, allocations: 180.2 kB / 0.5042 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/0.3519, allocations: 176.3 kB / 0.5044 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.764e-05/0.3519, allocations: 189.1 kB / 0.5046 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-05/0.352, allocations: 180.2 kB / 0.5047 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.3521, allocations: 319.6 kB / 0.5051 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.3522, allocations: 186 kB / 0.5052 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.3523, allocations: 176.3 kB / 0.5054 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.3523, allocations: 116.9 kB / 0.5055 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.3524, allocations: 181.2 kB / 0.5057 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.3524, allocations: 105.4 kB / 0.5058 GB, free: 9.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.305e-05/0.3525, allocations: 119.2 kB / 0.5059 GB, free: 9.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3525, allocations: 0 / 0.5059 GB, free: 9.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.3528, allocations: 8 kB / 0.5059 GB, free: 9.832 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 () * Number of clocked 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.0001489/0.3529, allocations: 203.3 kB / 0.5061 GB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 2.819e-05/0.353, allocations: 4 kB / 0.5061 GB, free: 9.617 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.353, allocations: 0 / 0.5061 GB, free: 9.617 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.353, allocations: 48 / 0.5061 GB, free: 9.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3533, allocations: 0.5388 MB / 0.5066 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.3536, allocations: 247.8 kB / 0.5069 GB, free: 8.805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.3538, allocations: 0.7004 MB / 0.5075 GB, free: 8.078 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.831e-05/0.3539, allocations: 6.625 kB / 0.5076 GB, free: 8.074 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.3539, allocations: 11.44 kB / 0.5076 GB, free: 8.066 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3539, allocations: 0 / 0.5076 GB, free: 8.066 MB / 378.7 MB Notification: Performance of Templates: time 0.002601/0.3565, allocations: 0.8434 MB / 0.5084 GB, free: 7.262 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1)