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/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000717/0.000717, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.3 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009231/0.0009231, allocations: 180.5 kB / 291.3 MB, free: 2.039 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03517/0.03517, allocations: 8.802 MB / 351.2 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 10.44 kB / 414.5 MB, free: 42.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06547/0.06581, allocations: 52.56 MB / 467 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.001064/0.0669, allocations: 0.9704 MB / 468 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.06847, allocations: 1.149 MB / 469.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.06851, allocations: 0 / 469.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.06884, allocations: 79.69 kB / 469.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007483/0.0696, allocations: 343 kB / 469.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.006e-06/0.06962, allocations: 0 / 469.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.07068, allocations: 0.7765 MB / 470.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.908e-05/0.07072, allocations: 7.938 kB / 470.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.07074, allocations: 7.938 kB / 470.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.07079, allocations: 23.84 kB / 470.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.0708, allocations: 0 / 470.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.07093, allocations: 43.92 kB / 470.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.07098, allocations: 19.98 kB / 470.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.07103, allocations: 45.5 kB / 470.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.07114, allocations: 51.88 kB / 470.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.07115, allocations: 0 / 470.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.07115, allocations: 0 / 470.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.656e-06/0.07116, allocations: 0 / 470.5 MB, free: 9.602 MB / 302.1 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.0002724/0.07144, allocations: 371.2 kB / 470.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.07148, allocations: 8.031 kB / 470.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/0.07182, allocations: 120 kB / 471 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.07219, allocations: 344 kB / 471.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.07225, allocations: 150.9 kB / 471.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.07229, allocations: 154.9 kB / 471.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.432e-05/0.07235, allocations: 113.3 kB / 471.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.07238, allocations: 75.28 kB / 471.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.07242, allocations: 150.6 kB / 472 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.07246, allocations: 150.6 kB / 472.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.098e-05/0.07251, allocations: 158.5 kB / 472.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.07275, allocations: 465.9 kB / 472.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.191e-05/0.07282, allocations: 177.1 kB / 472.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.07285, allocations: 80.14 kB / 473 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.07288, allocations: 75.28 kB / 473.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.07292, allocations: 109.8 kB / 473.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.07293, allocations: 4 kB / 473.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.492e-05/0.073, allocations: 37.55 kB / 473.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.07305, allocations: 126.7 kB / 473.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.07319, allocations: 166.2 kB / 473.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.07321, allocations: 25.7 kB / 473.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.07326, allocations: 104.1 kB / 473.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/0.07327, allocations: 0 / 473.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.07329, allocations: 9.719 kB / 473.6 MB, free: 6.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.07338, allocations: 322.8 kB / 474 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-06/0.07339, allocations: 0 / 474 MB, free: 5.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-06/0.0734, allocations: 0 / 474 MB, free: 5.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.129e-05/0.07342, allocations: 75.28 kB / 474 MB, free: 5.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/0.07345, allocations: 75.28 kB / 474.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.848e-05/0.07351, allocations: 45.58 kB / 474.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.07355, allocations: 87.22 kB / 474.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.07357, allocations: 75.28 kB / 474.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.431e-05/0.07363, allocations: 158.5 kB / 474.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.099e-05/0.07365, allocations: 75.28 kB / 474.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-05/0.07369, allocations: 154.6 kB / 474.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.07377, allocations: 83.22 kB / 474.8 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.07379, allocations: 75.28 kB / 474.8 MB, free: 5.051 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.804e-05/0.07389, allocations: 276.3 kB / 475.1 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.07396, allocations: 124.8 kB / 475.2 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.074, allocations: 108.9 kB / 475.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-05/0.07405, allocations: 176.3 kB / 475.5 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.565e-05/0.07411, allocations: 180.2 kB / 475.7 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.415e-05/0.07416, allocations: 188.2 kB / 475.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.07436, allocations: 417.2 kB / 476.3 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/0.0744, allocations: 116.9 kB / 476.4 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.07443, allocations: 101 kB / 476.5 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-05/0.07448, allocations: 184.1 kB / 476.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.07454, allocations: 180.3 kB / 476.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.881e-05/0.07459, allocations: 192.1 kB / 477 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.213e-05/0.07464, allocations: 176.3 kB / 477.2 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.07476, allocations: 315.6 kB / 477.5 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.07482, allocations: 189.9 kB / 477.7 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.07489, allocations: 180.2 kB / 477.9 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.878e-05/0.07496, allocations: 113 kB / 478 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.07502, allocations: 180.3 kB / 478.2 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.07505, allocations: 104.9 kB / 478.3 MB, free: 1.398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.301e-05/0.07514, allocations: 119.2 kB / 478.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07515, allocations: 0 / 478.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.0754, allocations: 4 kB / 478.4 MB, free: 1.277 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.967e-05/0.07551, allocations: 182.5 kB / 478.6 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.615e-05/0.07554, allocations: 496 / 478.6 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.07555, allocations: 0 / 478.6 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/0.07556, allocations: 0 / 478.6 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.07597, allocations: 0.5341 MB / 479.1 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.07626, allocations: 281.6 kB / 479.4 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.07648, allocations: 0.6926 MB / 480.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.0765, allocations: 7.438 kB / 480.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.0765, allocations: 0 / 480.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of Templates: time 0.001969/0.07848, allocations: 0.8224 MB / 480.9 MB, free: 14.7 MB / 318.1 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)