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.008191/0.008191, 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.001519/0.001519, allocations: 191.2 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04207/0.04207, allocations: 8.039 MB / 298.6 MB, free: 6.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.89 kB / 413.1 MB, free: 22.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1135, allocations: 51.19 MB / 464.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.007598/0.1212, allocations: 4.295 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.1247, allocations: 1.457 MB / 470 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008519/0.1256, allocations: 15.94 kB / 470 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007024/0.1263, allocations: 154.8 kB / 470.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009474/0.1273, allocations: 214.4 kB / 470.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1284, allocations: 402.2 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.1296, allocations: 0.8884 MB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008323/0.1304, allocations: 483.7 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.1311, allocations: 338.9 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.1323, allocations: 386.3 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.1327, allocations: 100 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005101/0.1332, allocations: 128 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005166/0.1337, allocations: 219.3 kB / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009731/0.1347, allocations: 422.1 kB / 473.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.1368, allocations: 1.086 MB / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1368, allocations: 0 / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1368, allocations: 0 / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.627e-05/0.1369, allocations: 7.938 kB / 474.8 MB, free: 8.477 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.003671/0.1406, allocations: 1.151 MB / 475.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1406, allocations: 12.03 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.1408, allocations: 80 kB / 476 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008206/0.1417, allocations: 0.5128 MB / 476.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-05/0.1417, allocations: 58 kB / 476.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.1419, allocations: 71.91 kB / 476.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.1434, allocations: 0.7074 MB / 477.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.1434, allocations: 0 / 477.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-05/0.1435, allocations: 28 kB / 477.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.1435, allocations: 19.94 kB / 477.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.1448, allocations: 0.5055 MB / 477.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006145/0.151, allocations: 2.533 MB / 480.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.1525, allocations: 447.4 kB / 480.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006493/0.1532, allocations: 176.7 kB / 481.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.1532, allocations: 4 kB / 481.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008294/0.1541, allocations: 267.4 kB / 481.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 3.035e-06/0.1541, allocations: 3.938 kB / 481.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002549/0.1567, allocations: 0.7003 MB / 482 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.1568, allocations: 140.5 kB / 482.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.1578, allocations: 0.5723 MB / 482.8 MB, free: 132 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.1579, allocations: 33.7 kB / 482.8 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.1583, allocations: 347.9 kB / 483.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.1584, allocations: 114.4 kB / 483.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.1586, allocations: 78.06 kB / 483.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.1588, allocations: 370.7 kB / 483.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.1595, allocations: 166.2 kB / 483.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007874/0.1603, allocations: 263.3 kB / 484.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.1618, allocations: 0.5503 MB / 484.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1618, allocations: 0 / 484.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001897/0.1637, allocations: 0.6079 MB / 485.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/0.1638, allocations: 85.11 kB / 485.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1638, allocations: 4 kB / 485.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.1641, allocations: 32.78 kB / 485.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.1646, allocations: 83.88 kB / 485.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.1663, allocations: 1.398 MB / 486.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/0.167, allocations: 75.64 kB / 486.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/0.1671, allocations: 20 kB / 486.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009054/0.168, allocations: 320.9 kB / 487.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000608/0.1686, allocations: 255.2 kB / 487.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00116/0.1698, allocations: 0.5149 MB / 488 MB, free: 10.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/0.1698, allocations: 0 / 488 MB, free: 10.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001849/0.1717, allocations: 0.5878 MB / 488.6 MB, free: 9.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.1719, allocations: 93.09 kB / 488.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1719, allocations: 4 kB / 488.7 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.172, allocations: 21.22 kB / 488.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.1725, allocations: 79.89 kB / 488.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.174, allocations: 1.394 MB / 490.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.1746, allocations: 59.64 kB / 490.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.1746, allocations: 20 kB / 490.3 MB, free: 7.965 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.0004122/0.1751, allocations: 272.5 kB / 490.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.1752, allocations: 55.34 kB / 490.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.1769, allocations: 0.5064 MB / 491.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1769, allocations: 4 kB / 491.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1769, allocations: 4 kB / 491.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.1769, allocations: 3.984 kB / 491.1 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.1798, allocations: 1.183 MB / 492.3 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.1798, allocations: 11.98 kB / 492.3 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.1803, allocations: 51.95 kB / 492.4 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.1805, allocations: 20.86 kB / 492.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.1806, allocations: 11.98 kB / 492.4 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.1823, allocations: 1.387 MB / 493.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1823, allocations: 0 / 493.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.1847, allocations: 0.7967 MB / 494.6 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.1849, allocations: 132.4 kB / 494.7 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.185, allocations: 12 kB / 494.7 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.1856, allocations: 39.95 kB / 494.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.1859, allocations: 35.95 kB / 494.8 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.1859, allocations: 12 kB / 494.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007264/0.1867, allocations: 414.8 kB / 495.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1867, allocations: 0 / 495.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001367/0.1881, allocations: 286.8 kB / 495.5 MB, free: 2.441 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.001175/0.1892, allocations: 370.2 kB / 495.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002971/0.1922, allocations: 1.198 MB / 497 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1923, allocations: 0 / 497 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000921/0.1932, allocations: 433.3 kB / 497.5 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008515/0.1941, allocations: 96.47 kB / 497.6 MB, free: 368 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.1974, allocations: 1.222 MB / 498.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.1985, allocations: 0.9056 MB / 499.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004306/0.1989, allocations: 63.41 kB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.1991, allocations: 39.44 kB / 499.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.1991, allocations: 0 / 499.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of Templates: time 0.01666/0.2158, allocations: 7.291 MB / 0.4952 GB, free: 6.801 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)