Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 108.1 kB / 16.41 MB, free: 6.465 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.001117/0.001117, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03914/0.03914, allocations: 8.036 MB / 299.2 MB, free: 6.801 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 413.7 MB, free: 22.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09296, allocations: 51.2 MB / 464.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.006182/0.09917, allocations: 4.11 MB / 469 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.102, allocations: 1.411 MB / 470.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005852/0.1026, allocations: 15.94 kB / 470.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.1033, allocations: 154.8 kB / 470.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008612/0.1042, allocations: 206.5 kB / 470.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008937/0.1051, allocations: 366 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.1062, allocations: 0.849 MB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000694/0.1069, allocations: 442.5 kB / 472.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005146/0.1074, allocations: 322.9 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005515/0.108, allocations: 350.5 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.1082, allocations: 96 kB / 473.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.1085, allocations: 124 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.1088, allocations: 207.4 kB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004588/0.1092, allocations: 390.1 kB / 473.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.1104, allocations: 1.02 MB / 474.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1104, allocations: 0 / 474.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1104, allocations: 0 / 474.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.989e-05/0.1104, allocations: 4 kB / 474.9 MB, free: 9.004 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002268/0.1127, allocations: 1.106 MB / 476.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1128, allocations: 11.97 kB / 476.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.113, allocations: 80 kB / 476.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/0.1138, allocations: 0.5012 MB / 476.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.1139, allocations: 45.31 kB / 476.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.114, allocations: 68 kB / 476.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.1152, allocations: 0.6488 MB / 477.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.1153, allocations: 3.938 kB / 477.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.1153, allocations: 28 kB / 477.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1153, allocations: 16 kB / 477.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.1164, allocations: 480.9 kB / 477.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/0.1201, allocations: 2.485 MB / 480.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009729/0.1211, allocations: 412 kB / 480.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/0.1215, allocations: 169 kB / 481 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.1216, allocations: 12.2 kB / 481 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005469/0.1221, allocations: 261.5 kB / 481.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.1222, allocations: 0 / 481.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00165/0.1238, allocations: 0.6897 MB / 481.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/0.1239, allocations: 140.4 kB / 482.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006871/0.1246, allocations: 0.5566 MB / 482.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.1247, allocations: 37.7 kB / 482.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.1249, allocations: 327.4 kB / 483 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/0.125, allocations: 110.5 kB / 483.1 MB, free: 468 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.1252, allocations: 77.61 kB / 483.2 MB, free: 384 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1253, allocations: 362.8 kB / 483.5 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.1258, allocations: 161.1 kB / 483.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.1262, allocations: 254.5 kB / 483.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/0.1272, allocations: 0.527 MB / 484.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1272, allocations: 0 / 484.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001248/0.1284, allocations: 0.5924 MB / 485 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.1285, allocations: 93.03 kB / 485.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.1285, allocations: 7.938 kB / 485.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.1287, allocations: 24.84 kB / 485.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.1291, allocations: 79.89 kB / 485.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.1302, allocations: 1.382 MB / 486.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.1307, allocations: 79.64 kB / 486.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.1307, allocations: 16 kB / 486.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005901/0.1313, allocations: 316.4 kB / 487 MB, free: 12.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004162/0.1318, allocations: 250.8 kB / 487.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007996/0.1326, allocations: 0.5187 MB / 487.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.1326, allocations: 0 / 487.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001075/0.1337, allocations: 0.5571 MB / 488.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.1337, allocations: 89.09 kB / 488.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1338, allocations: 4 kB / 488.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.072e-05/0.1338, allocations: 28.84 kB / 488.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.1342, allocations: 80.17 kB / 488.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009006/0.1351, allocations: 1.379 MB / 489.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.1355, allocations: 59.66 kB / 490 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.1356, allocations: 19.98 kB / 490 MB, free: 8.91 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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.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.0002215/0.1358, allocations: 275 kB / 490.3 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.1359, allocations: 51.34 kB / 490.3 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.137, allocations: 499.9 kB / 490.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.137, allocations: 4 kB / 490.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.137, allocations: 4 kB / 490.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1371, allocations: 3.984 kB / 490.8 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.1388, allocations: 1.124 MB / 491.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1389, allocations: 0 / 491.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.1392, allocations: 63.95 kB / 492 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.611e-05/0.1393, allocations: 16.8 kB / 492 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.1393, allocations: 19.92 kB / 492 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009179/0.1402, allocations: 1.375 MB / 493.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1403, allocations: 0 / 493.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.1417, allocations: 0.7701 MB / 494.2 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.1419, allocations: 124.5 kB / 494.3 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.1419, allocations: 11.98 kB / 494.3 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.1423, allocations: 47.95 kB / 494.4 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1424, allocations: 31.91 kB / 494.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.1425, allocations: 19.92 kB / 494.4 MB, free: 4.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004724/0.1429, allocations: 402.8 kB / 494.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.143, allocations: 0 / 494.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008082/0.1438, allocations: 270.9 kB / 495.1 MB, free: 3.527 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,oneFlange.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.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.0008473/0.1446, allocations: 363.1 kB / 495.4 MB, free: 3.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.1466, allocations: 1.163 MB / 496.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.1466, allocations: 0 / 496.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.1472, allocations: 429.2 kB / 497 MB, free: 1.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.1479, allocations: 100.8 kB / 497.1 MB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.15, allocations: 1.204 MB / 498.3 MB, free: 252 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.1506, allocations: 0.8855 MB / 499.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.1507, allocations: 43.42 kB / 499.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1507, allocations: 4 kB / 499.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01358/0.1643, allocations: 10.24 MB / 0.4975 GB, free: 5.051 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)