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.0009029/0.0009029, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 239.4 MB, free: 5.531 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.001269/0.001269, allocations: 175.5 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.033/0.033, allocations: 8.804 MB / 350.5 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.000379, allocations: 16.78 kB / 413.8 MB, free: 42.79 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1053, allocations: 52.55 MB / 466.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.001488/0.1068, allocations: 0.9743 MB / 467.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.1088, allocations: 1.153 MB / 468.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.1089, allocations: 0 / 468.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.1094, allocations: 75.77 kB / 468.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009993/0.1104, allocations: 350.9 kB / 468.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.541e-06/0.1104, allocations: 0 / 468.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.1116, allocations: 0.761 MB / 469.7 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.1117, allocations: 15.88 kB / 469.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.647e-05/0.1117, allocations: 11.92 kB / 469.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.1118, allocations: 19.86 kB / 469.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1118, allocations: 0 / 469.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1119, allocations: 43.92 kB / 469.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.112, allocations: 15.98 kB / 469.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.1121, allocations: 53.48 kB / 469.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1123, allocations: 63.75 kB / 469.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1123, allocations: 4 kB / 469.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1123, allocations: 4 kB / 469.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1123, allocations: 0 / 469.9 MB, free: 9.637 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.0003708/0.1127, allocations: 367.2 kB / 470.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.1127, allocations: 12.03 kB / 470.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003934/0.1131, allocations: 108.1 kB / 470.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.1136, allocations: 352 kB / 470.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/0.1137, allocations: 154.9 kB / 470.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.1138, allocations: 150.9 kB / 471 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.896e-05/0.1139, allocations: 117.3 kB / 471.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/0.1139, allocations: 79.28 kB / 471.2 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.114, allocations: 158.4 kB / 471.4 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.594e-05/0.114, allocations: 154.6 kB / 471.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.699e-05/0.1141, allocations: 150.6 kB / 471.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.1144, allocations: 457.9 kB / 472.1 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.699e-05/0.1145, allocations: 173.1 kB / 472.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.1146, allocations: 84.14 kB / 472.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.1146, allocations: 79.22 kB / 472.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.1146, allocations: 113.8 kB / 472.5 MB, free: 6.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.1147, allocations: 0 / 472.5 MB, free: 6.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.083e-05/0.1147, allocations: 33.61 kB / 472.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.1148, allocations: 126.7 kB / 472.7 MB, free: 6.637 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.115, allocations: 162.2 kB / 472.9 MB, free: 6.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.115, allocations: 29.7 kB / 472.9 MB, free: 6.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.1151, allocations: 104.1 kB / 473 MB, free: 6.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.1151, allocations: 0 / 473 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.1151, allocations: 9.719 kB / 473 MB, free: 6.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1152, allocations: 318.8 kB / 473.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.1152, allocations: 4 kB / 473.3 MB, free: 5.984 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-06/0.1152, allocations: 3.938 kB / 473.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.1152, allocations: 75.28 kB / 473.4 MB, free: 5.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.219e-05/0.1153, allocations: 79.28 kB / 473.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.437e-05/0.1153, allocations: 33.61 kB / 473.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.1154, allocations: 87.27 kB / 473.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.1154, allocations: 83.22 kB / 473.7 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.938e-05/0.1155, allocations: 154.5 kB / 473.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.017e-05/0.1155, allocations: 79.27 kB / 473.9 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-05/0.1156, allocations: 154.5 kB / 474.1 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.1156, allocations: 83.28 kB / 474.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.1157, allocations: 79.28 kB / 474.2 MB, free: 5.078 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 0.0001231/0.1158, allocations: 276.3 kB / 474.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.1159, allocations: 116.8 kB / 474.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.1159, allocations: 112.8 kB / 474.7 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.771e-05/0.116, allocations: 184.2 kB / 474.9 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-05/0.116, allocations: 176.3 kB / 475.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.927e-05/0.1161, allocations: 188.2 kB / 475.2 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1163, allocations: 417.2 kB / 475.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.033e-05/0.1164, allocations: 108.9 kB / 475.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.1164, allocations: 108.9 kB / 475.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.274e-05/0.1165, allocations: 184.2 kB / 476 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.251e-05/0.1166, allocations: 180.2 kB / 476.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.419e-05/0.1166, allocations: 184.2 kB / 476.4 MB, free: 2.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.453e-05/0.1167, allocations: 180.3 kB / 476.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.1168, allocations: 311.7 kB / 476.9 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.1169, allocations: 197.9 kB / 477.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.117, allocations: 176.3 kB / 477.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.1171, allocations: 101 kB / 477.3 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.1171, allocations: 188.2 kB / 477.5 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.1172, allocations: 105 kB / 477.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.758e-05/0.1173, allocations: 123.2 kB / 477.7 MB, free: 1.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1173, allocations: 0 / 477.7 MB, free: 1.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1176, allocations: 4 kB / 477.8 MB, free: 1.309 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 0.0001314/0.1177, allocations: 170.5 kB / 477.9 MB, free: 1.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.205e-05/0.1177, allocations: 4.422 kB / 477.9 MB, free: 1.129 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1177, allocations: 0 / 477.9 MB, free: 1.129 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.1177, allocations: 4 kB / 477.9 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.1182, allocations: 0.5341 MB / 478.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.1185, allocations: 243.9 kB / 478.7 MB, free: 328 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1189, allocations: 0.702 MB / 479.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.494e-05/0.1189, allocations: 4 kB / 479.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.119, allocations: 11.44 kB / 479.4 MB, free: 15.58 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.119, allocations: 0 / 479.4 MB, free: 15.58 MB / 318.1 MB Notification: Performance of Templates: time 0.002663/0.1216, allocations: 455.5 kB / 479.9 MB, free: 15.14 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: