Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001203/0.001202, allocations: 110 kB / 16.41 MB, free: 6.477 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.001149/0.001149, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03703/0.03703, allocations: 8.046 MB / 299.2 MB, free: 6.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.89 kB / 413.7 MB, free: 22.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09942, allocations: 51.18 MB / 464.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.00617/0.1056, allocations: 4.143 MB / 469.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.1085, allocations: 1.422 MB / 470.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006295/0.1092, allocations: 12 kB / 470.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005953/0.1098, allocations: 150.8 kB / 470.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008621/0.1107, allocations: 210.4 kB / 470.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008919/0.1116, allocations: 378.6 kB / 471.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.1127, allocations: 0.8533 MB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.1135, allocations: 499.6 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003831/0.1138, allocations: 326.8 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.1142, allocations: 354.5 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.1143, allocations: 99.98 kB / 473.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.1145, allocations: 127.9 kB / 473.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.1147, allocations: 207.4 kB / 473.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.1151, allocations: 414 kB / 474.1 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009626/0.1161, allocations: 1.036 MB / 475.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1161, allocations: 3.938 kB / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1161, allocations: 0 / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1161, allocations: 3.938 kB / 475.1 MB, free: 8.957 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.001786/0.1179, allocations: 1.112 MB / 476.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1179, allocations: 8.031 kB / 476.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1181, allocations: 80 kB / 476.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006933/0.1188, allocations: 0.5093 MB / 476.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-05/0.1188, allocations: 53.25 kB / 476.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.119, allocations: 71.91 kB / 476.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1201, allocations: 0.6682 MB / 477.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.1201, allocations: 4 kB / 477.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.1202, allocations: 31.98 kB / 477.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.1202, allocations: 16 kB / 477.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1213, allocations: 488.9 kB / 478.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003504/0.1248, allocations: 2.548 MB / 480.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009379/0.1257, allocations: 424.1 kB / 481.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.1261, allocations: 173 kB / 481.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.1261, allocations: 12.22 kB / 481.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005397/0.1267, allocations: 257.6 kB / 481.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.1267, allocations: 4 kB / 481.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001512/0.1282, allocations: 0.674 MB / 482.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.1283, allocations: 144.5 kB / 482.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/0.1289, allocations: 0.5565 MB / 482.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.129, allocations: 33.7 kB / 482.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.1292, allocations: 344 kB / 483.3 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/0.1293, allocations: 106.5 kB / 483.4 MB, free: 288 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.1295, allocations: 77.69 kB / 483.5 MB, free: 204 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1296, allocations: 362.8 kB / 483.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.13, allocations: 161.1 kB / 484 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.1305, allocations: 252.3 kB / 484.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008514/0.1314, allocations: 0.5309 MB / 484.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1314, allocations: 0 / 484.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001095/0.1325, allocations: 0.5958 MB / 485.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.1326, allocations: 89.09 kB / 485.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1326, allocations: 4.375 kB / 485.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.1327, allocations: 24.86 kB / 485.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.1331, allocations: 83.88 kB / 485.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009831/0.1341, allocations: 1.382 MB / 486.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.1345, allocations: 83.33 kB / 487 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.1345, allocations: 20.09 kB / 487 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005011/0.135, allocations: 312.6 kB / 487.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003814/0.1354, allocations: 258.7 kB / 487.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007298/0.1362, allocations: 0.5148 MB / 488.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.1362, allocations: 0 / 488.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009832/0.1372, allocations: 0.565 MB / 488.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/0.1372, allocations: 89.09 kB / 488.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1373, allocations: 4 kB / 488.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.76e-05/0.1373, allocations: 24.8 kB / 488.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.1376, allocations: 83.81 kB / 488.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009035/0.1386, allocations: 1.379 MB / 490.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.139, allocations: 63.8 kB / 490.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.139, allocations: 20 kB / 490.3 MB, free: 8.719 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.0002156/0.1392, allocations: 263.5 kB / 490.6 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.1393, allocations: 51.44 kB / 490.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.1403, allocations: 0.4921 MB / 491.1 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1404, allocations: 0 / 491.1 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1404, allocations: 4 kB / 491.1 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1404, allocations: 3.938 kB / 491.1 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.1421, allocations: 1.147 MB / 492.3 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.1421, allocations: 7.938 kB / 492.3 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.1424, allocations: 51.95 kB / 492.3 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.208e-05/0.1425, allocations: 28.84 kB / 492.4 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.1425, allocations: 8 kB / 492.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009077/0.1434, allocations: 1.371 MB / 493.7 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1435, allocations: 0 / 493.7 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.1449, allocations: 0.7778 MB / 494.5 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.145, allocations: 128.5 kB / 494.6 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.1451, allocations: 8 kB / 494.6 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.1454, allocations: 47.89 kB / 494.7 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.1455, allocations: 35.95 kB / 494.7 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.1456, allocations: 12 kB / 494.7 MB, free: 3.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004291/0.146, allocations: 402.8 kB / 495.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.222e-06/0.146, allocations: 0 / 495.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007602/0.1468, allocations: 278.8 kB / 495.4 MB, free: 3.316 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.000823/0.1476, allocations: 374.6 kB / 495.8 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.1495, allocations: 1.155 MB / 496.9 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1495, allocations: 4.062 kB / 496.9 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.1501, allocations: 433.3 kB / 497.4 MB, free: 1.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.1507, allocations: 85.42 kB / 497.4 MB, free: 1.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.1527, allocations: 1.22 MB / 498.7 MB, free: 24 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.1531, allocations: 0.8932 MB / 499.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1533, allocations: 43.42 kB / 499.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1533, allocations: 0 / 499.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of Templates: time 0.01422/0.1675, allocations: 10.42 MB / 0.4981 GB, free: 4.637 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)