Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.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.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001317, allocations: 103.8 kB / 16.41 MB, free: 6.449 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.001287/0.001287, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.299/1.299, allocations: 222.9 MB / 241 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.03813/0.03813, allocations: 8.035 MB / 299.2 MB, free: 6.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 55.91 kB / 413.7 MB, free: 22.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.09196, allocations: 51.19 MB / 464.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.00563/0.09763, allocations: 4.301 MB / 469.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.1001, allocations: 1.457 MB / 470.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.1005, allocations: 15.94 kB / 470.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.1009, allocations: 154.8 kB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000538/0.1015, allocations: 210.4 kB / 471.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007395/0.1023, allocations: 398.2 kB / 471.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009203/0.1032, allocations: 0.8922 MB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006173/0.1038, allocations: 483.8 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.1042, allocations: 346.9 kB / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.1047, allocations: 374.4 kB / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.1048, allocations: 100 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.105, allocations: 131.9 kB / 473.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.1052, allocations: 219.3 kB / 474 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.1056, allocations: 430 kB / 474.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.1068, allocations: 1.083 MB / 475.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1068, allocations: 0 / 475.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1068, allocations: 0 / 475.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1068, allocations: 0 / 475.5 MB, free: 8.469 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00202/0.1089, allocations: 1.151 MB / 476.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1089, allocations: 12.03 kB / 476.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1091, allocations: 80 kB / 476.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/0.1099, allocations: 0.5128 MB / 477.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.11, allocations: 54 kB / 477.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.1101, allocations: 71.91 kB / 477.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1114, allocations: 0.7036 MB / 478 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.1114, allocations: 7.922 kB / 478 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.1115, allocations: 35.98 kB / 478.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.1115, allocations: 16 kB / 478.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.1126, allocations: 0.5016 MB / 478.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.1163, allocations: 2.544 MB / 481.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009606/0.1173, allocations: 443.4 kB / 481.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/0.1178, allocations: 176.8 kB / 481.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.1178, allocations: 4 kB / 481.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005889/0.1184, allocations: 267.3 kB / 482 MB, free: 1.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.034e-06/0.1184, allocations: 0 / 482 MB, free: 1.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001714/0.1201, allocations: 0.7043 MB / 482.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.1202, allocations: 140.6 kB / 482.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.1209, allocations: 0.5683 MB / 483.4 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.121, allocations: 37.69 kB / 483.5 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.1213, allocations: 351.9 kB / 483.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.1214, allocations: 118.4 kB / 483.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.1215, allocations: 78 kB / 484 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1217, allocations: 366.7 kB / 484.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.1221, allocations: 166.3 kB / 484.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.1226, allocations: 263.3 kB / 484.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009177/0.1235, allocations: 0.5425 MB / 485.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1235, allocations: 4 kB / 485.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001204/0.1247, allocations: 0.604 MB / 485.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.637e-05/0.1248, allocations: 95.45 kB / 486 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1248, allocations: 7.938 kB / 486 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.125, allocations: 24.84 kB / 486.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.1254, allocations: 79.88 kB / 486.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.1265, allocations: 1.383 MB / 487.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.127, allocations: 87.66 kB / 487.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.127, allocations: 16 kB / 487.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005873/0.1276, allocations: 320.8 kB / 487.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004197/0.1281, allocations: 253.9 kB / 488.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008271/0.1289, allocations: 0.5149 MB / 488.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.1289, allocations: 0 / 488.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001097/0.13, allocations: 0.5839 MB / 489.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/0.1301, allocations: 97.09 kB / 489.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1301, allocations: 4 kB / 489.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.944e-05/0.1302, allocations: 25.22 kB / 489.4 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.1305, allocations: 79.83 kB / 489.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.1316, allocations: 1.398 MB / 490.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.1321, allocations: 63.64 kB / 490.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.1321, allocations: 23.94 kB / 491 MB, free: 7.949 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,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0002034/0.1323, allocations: 266.4 kB / 491.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/0.1324, allocations: 55.33 kB / 491.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.1335, allocations: 0.5064 MB / 491.8 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1335, allocations: 4 kB / 491.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.1335, allocations: 4 kB / 491.8 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1336, allocations: 0 / 491.8 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.1355, allocations: 1.183 MB / 493 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1355, allocations: 4 kB / 493 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.1359, allocations: 63.94 kB / 493 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-05/0.136, allocations: 24.8 kB / 493.1 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.136, allocations: 11.98 kB / 493.1 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009363/0.137, allocations: 1.371 MB / 494.4 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.137, allocations: 3.938 kB / 494.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.1385, allocations: 0.8006 MB / 495.2 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.1387, allocations: 136.5 kB / 495.4 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/0.1387, allocations: 16 kB / 495.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.1391, allocations: 47.94 kB / 495.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.1392, allocations: 31.95 kB / 495.5 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.1392, allocations: 12 kB / 495.5 MB, free: 3.109 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004382/0.1397, allocations: 410.8 kB / 495.9 MB, free: 2.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1397, allocations: 0 / 495.9 MB, free: 2.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007651/0.1405, allocations: 294.8 kB / 496.2 MB, free: 2.422 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * 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.0008016/0.1413, allocations: 356.6 kB / 496.5 MB, free: 2.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.1432, allocations: 1.194 MB / 497.7 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1432, allocations: 4 kB / 497.7 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.1438, allocations: 429.3 kB / 498.1 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.1444, allocations: 97.52 kB / 498.2 MB, free: 364 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.1464, allocations: 1.255 MB / 499.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.1469, allocations: 0.9056 MB / 0.4887 GB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.147, allocations: 35.44 kB / 0.4887 GB, free: 14.09 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.147, allocations: 0 / 0.4887 GB, free: 14.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01314/0.1602, allocations: 10.69 MB / 0.4991 GB, free: 3.398 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)