Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.001246/0.001246, allocations: 104.2 kB / 16.4 MB, free: 6.422 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.001215/0.001216, allocations: 192.2 kB / 17.34 MB, free: 5.691 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04003/0.04002, allocations: 8.03 MB / 299.2 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 71.89 kB / 413.8 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09326, allocations: 51.18 MB / 464.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.006403/0.0997, allocations: 4.304 MB / 469.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.1026, allocations: 1.45 MB / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003244/0.1029, allocations: 15.94 kB / 470.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.1034, allocations: 158.8 kB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005676/0.104, allocations: 214.4 kB / 471.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.1048, allocations: 394.1 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009529/0.1058, allocations: 0.9039 MB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006525/0.1064, allocations: 471.8 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.1068, allocations: 346.8 kB / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004392/0.1073, allocations: 378.4 kB / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.1074, allocations: 104 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.1076, allocations: 131.9 kB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.1079, allocations: 219.3 kB / 474 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004219/0.1083, allocations: 425.9 kB / 474.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.1096, allocations: 1.082 MB / 475.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1096, allocations: 3.938 kB / 475.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1096, allocations: 0 / 475.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.1096, 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.002105/0.1118, allocations: 1.174 MB / 476.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1118, allocations: 8.031 kB / 476.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.112, allocations: 92.42 kB / 476.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008458/0.1128, allocations: 0.517 MB / 477.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.1129, allocations: 50 kB / 477.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.113, allocations: 72 kB / 477.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.1144, allocations: 0.7113 MB / 478.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.1144, allocations: 7.938 kB / 478.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.944e-05/0.1145, allocations: 28 kB / 478.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.1145, allocations: 16 kB / 478.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.1157, allocations: 0.5054 MB / 478.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003896/0.1196, allocations: 2.541 MB / 481.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.1207, allocations: 445.9 kB / 481.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/0.1211, allocations: 180.8 kB / 481.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.1211, allocations: 4 kB / 481.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005789/0.1217, allocations: 267.3 kB / 482.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.275e-06/0.1217, allocations: 0 / 482.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.00172/0.1235, allocations: 0.7239 MB / 482.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/0.1236, allocations: 132.5 kB / 482.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/0.1243, allocations: 0.5606 MB / 483.5 MB, free: 72 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.1244, allocations: 37.69 kB / 483.5 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.1247, allocations: 360.7 kB / 483.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.1248, allocations: 123 kB / 484 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.125, allocations: 78.06 kB / 484.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1252, allocations: 366.7 kB / 484.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.1256, allocations: 162.3 kB / 484.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004985/0.1261, allocations: 263.3 kB / 484.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/0.1271, allocations: 0.5425 MB / 485.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1271, allocations: 0 / 485.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001219/0.1283, allocations: 0.6118 MB / 486 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.337e-05/0.1284, allocations: 89.48 kB / 486.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1284, allocations: 8 kB / 486.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.1286, allocations: 28.84 kB / 486.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.1289, allocations: 83.88 kB / 486.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.1302, allocations: 1.387 MB / 487.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.1306, allocations: 87.8 kB / 487.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.1307, allocations: 19.94 kB / 487.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005807/0.1313, allocations: 320.8 kB / 488 MB, free: 11.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004397/0.1317, allocations: 251.2 kB / 488.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008636/0.1326, allocations: 0.5226 MB / 488.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.1326, allocations: 0 / 488.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001103/0.1337, allocations: 0.5804 MB / 489.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.414e-05/0.1338, allocations: 93.09 kB / 489.4 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1338, allocations: 0 / 489.4 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.658e-05/0.1339, allocations: 32.78 kB / 489.5 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.1342, allocations: 76.23 kB / 489.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.1353, allocations: 1.391 MB / 490.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.1358, allocations: 67.77 kB / 491 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.1358, allocations: 27.92 kB / 491 MB, free: 7.879 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.0002272/0.136, allocations: 256.5 kB / 491.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/0.1361, allocations: 59.72 kB / 491.3 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.1373, allocations: 0.5142 MB / 491.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1373, allocations: 4 kB / 491.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1373, allocations: 0 / 491.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1373, allocations: 0 / 491.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.1393, allocations: 1.191 MB / 493.1 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1393, allocations: 0 / 493.1 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.1396, allocations: 71.88 kB / 493.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.064e-05/0.1397, allocations: 16.86 kB / 493.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.1398, allocations: 15.98 kB / 493.2 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.1409, allocations: 1.379 MB / 494.5 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1409, allocations: 0 / 494.5 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.1425, allocations: 0.7932 MB / 495.3 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.1427, allocations: 136.8 kB / 495.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.1428, allocations: 12 kB / 495.5 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.1431, allocations: 43.95 kB / 495.5 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.1433, allocations: 35.89 kB / 495.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.1433, allocations: 8 kB / 495.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005499/0.1438, allocations: 414.8 kB / 496 MB, free: 2.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1439, allocations: 0 / 496 MB, free: 2.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008463/0.1447, allocations: 295.1 kB / 496.3 MB, free: 2.352 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.001288/0.146, allocations: 374.9 kB / 496.6 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.1482, allocations: 1.19 MB / 497.8 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1482, allocations: 0 / 497.8 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007211/0.1489, allocations: 433.3 kB / 498.2 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.1495, allocations: 81.92 kB / 498.3 MB, free: 292 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.1519, allocations: 1.277 MB / 499.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.1525, allocations: 0.9017 MB / 0.4888 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1526, allocations: 39.44 kB / 0.4888 GB, free: 14 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1526, allocations: 4 kB / 0.4888 GB, free: 13.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01561/0.1682, allocations: 10.73 MB / 0.4993 GB, free: 3.266 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)