Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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/Complex 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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006117/0.006117, allocations: 102.3 kB / 15.73 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 191.8 kB / 16.67 MB, free: 5.52 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04051/0.04051, allocations: 8.046 MB / 298.6 MB, free: 6.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 59.91 kB / 413.1 MB, free: 22.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09759/0.09908, allocations: 51.2 MB / 464.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.006121/0.1053, allocations: 4.147 MB / 468.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.1086, allocations: 1.414 MB / 469.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007667/0.1094, allocations: 15.94 kB / 469.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007985/0.1102, allocations: 150.8 kB / 470 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.1116, allocations: 210.5 kB / 470.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1127, allocations: 366 kB / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.114, allocations: 0.8611 MB / 471.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006969/0.1147, allocations: 0.4957 MB / 471.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.115, allocations: 326.8 kB / 472.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003879/0.1154, allocations: 362.4 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.1156, allocations: 96 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.1158, allocations: 120 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002665/0.116, allocations: 207.4 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.1164, allocations: 410 kB / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1174, allocations: 1.04 MB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1174, allocations: 4 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1175, allocations: 4 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1175, allocations: 0 / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001836/0.1193, allocations: 1.116 MB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1194, allocations: 8.031 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.1195, allocations: 80 kB / 475.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.1202, allocations: 0.5015 MB / 476.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.1203, allocations: 53.25 kB / 476.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.619e-05/0.1204, allocations: 75.84 kB / 476.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.1217, allocations: 0.6683 MB / 476.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.1217, allocations: 0 / 476.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-05/0.1218, allocations: 31.94 kB / 477 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1218, allocations: 16 kB / 477 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.1229, allocations: 496.9 kB / 477.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.1266, allocations: 2.548 MB / 480 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.1276, allocations: 424.1 kB / 480.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000438/0.1281, allocations: 172.9 kB / 480.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1281, allocations: 8.234 kB / 480.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/0.1287, allocations: 257.7 kB / 480.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.1287, allocations: 0 / 480.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001633/0.1304, allocations: 0.6778 MB / 481.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.1305, allocations: 136.5 kB / 481.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.1311, allocations: 0.5643 MB / 482.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.1312, allocations: 33.7 kB / 482.3 MB, free: 500 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.1314, allocations: 344 kB / 482.6 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.1315, allocations: 110.5 kB / 482.7 MB, free: 36 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.1317, allocations: 73.69 kB / 482.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1318, allocations: 358.8 kB / 483.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.1323, allocations: 161.2 kB / 483.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.1327, allocations: 254.5 kB / 483.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.1337, allocations: 0.527 MB / 484.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1337, allocations: 0 / 484.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001151/0.1348, allocations: 0.5998 MB / 484.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.994e-05/0.1349, allocations: 89.11 kB / 484.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1349, allocations: 7.984 kB / 484.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/0.1351, allocations: 20.84 kB / 484.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.1354, allocations: 88.22 kB / 484.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.1365, allocations: 1.379 MB / 486.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.1369, allocations: 83.33 kB / 486.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.1369, allocations: 23.98 kB / 486.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005522/0.1375, allocations: 312.4 kB / 486.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004261/0.1379, allocations: 253.7 kB / 486.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000833/0.1388, allocations: 0.5187 MB / 487.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.1388, allocations: 0 / 487.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001095/0.1399, allocations: 0.5575 MB / 488 MB, free: 10.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.14, allocations: 93.11 kB / 488.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.14, allocations: 4 kB / 488.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001029/0.1401, allocations: 32.72 kB / 488.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.1404, allocations: 75.89 kB / 488.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000944/0.1413, allocations: 1.378 MB / 489.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.1418, allocations: 71.77 kB / 489.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.1418, allocations: 16 kB / 489.6 MB, free: 8.477 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.142, allocations: 264.4 kB / 489.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/0.1421, allocations: 55.42 kB / 490 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.1432, allocations: 495.9 kB / 490.4 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1432, allocations: 3.984 kB / 490.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1432, allocations: 0 / 490.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1432, allocations: 7.938 kB / 490.5 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.145, allocations: 1.151 MB / 491.6 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.145, allocations: 3.938 kB / 491.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.1454, allocations: 55.89 kB / 491.7 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.921e-05/0.1455, allocations: 20.86 kB / 491.7 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.1455, allocations: 11.98 kB / 491.7 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009232/0.1464, allocations: 1.375 MB / 493.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1464, allocations: 4.062 kB / 493.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.1479, allocations: 0.7661 MB / 493.8 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1481, allocations: 128.5 kB / 494 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.1481, allocations: 15.98 kB / 494 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.1485, allocations: 43.89 kB / 494 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.1486, allocations: 27.97 kB / 494 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.1487, allocations: 16 kB / 494.1 MB, free: 3.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004436/0.1491, allocations: 410.8 kB / 494.5 MB, free: 3.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1491, allocations: 0 / 494.5 MB, free: 3.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007506/0.1499, allocations: 278.8 kB / 494.7 MB, free: 3.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007823/0.1507, allocations: 366.1 kB / 495.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.1526, allocations: 1.159 MB / 496.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1526, allocations: 0 / 496.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.1532, allocations: 434.2 kB / 496.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.1538, allocations: 85.8 kB / 496.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.1557, allocations: 1.198 MB / 498 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.1562, allocations: 0.8933 MB / 498.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.1564, allocations: 63.36 kB / 498.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.862e-05/0.1565, allocations: 35.44 kB / 498.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1566, allocations: 0 / 498.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of Templates: time 0.01219/0.1688, allocations: 7.102 MB / 0.4942 GB, free: 7.715 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)