Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.008875/0.008875, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001468/0.001468, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04125/0.04125, allocations: 8.033 MB / 298.6 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 59.89 kB / 413.1 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1235, allocations: 51.19 MB / 464.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.006675/0.1302, allocations: 4.119 MB / 468.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003653/0.1339, allocations: 1.407 MB / 469.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008928/0.1348, allocations: 11.94 kB / 469.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007391/0.1356, allocations: 150.8 kB / 469.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.1366, allocations: 202.5 kB / 470.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.1379, allocations: 369.7 kB / 470.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.1393, allocations: 0.849 MB / 471.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007402/0.1401, allocations: 450.4 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.1404, allocations: 318.9 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.1408, allocations: 350.5 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.141, allocations: 92 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.1412, allocations: 123.9 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.1414, allocations: 199.4 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.1418, allocations: 398.1 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.1429, allocations: 1.028 MB / 474.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1429, allocations: 0 / 474.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1429, allocations: 0 / 474.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1429, allocations: 3.938 kB / 474.3 MB, free: 8.992 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.00173/0.1447, allocations: 1.125 MB / 475.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1447, allocations: 8.031 kB / 475.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.1449, allocations: 88.42 kB / 475.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.1456, allocations: 0.4976 MB / 476 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.1456, allocations: 53.31 kB / 476 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.442e-05/0.1457, allocations: 71.94 kB / 476.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1469, allocations: 0.6449 MB / 476.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1469, allocations: 4 kB / 476.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.147, allocations: 27.98 kB / 476.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.147, allocations: 23.98 kB / 476.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1481, allocations: 476.9 kB / 477.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00378/0.1519, allocations: 2.486 MB / 479.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009869/0.1529, allocations: 420 kB / 480.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.1533, allocations: 172.9 kB / 480.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.1534, allocations: 12.2 kB / 480.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005453/0.1539, allocations: 249.7 kB / 480.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/0.1539, allocations: 0 / 480.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001594/0.1555, allocations: 0.6898 MB / 481.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/0.1556, allocations: 140.5 kB / 481.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006242/0.1563, allocations: 0.5565 MB / 482 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.1563, allocations: 37.7 kB / 482 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.1566, allocations: 340.1 kB / 482.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.84e-05/0.1567, allocations: 115.1 kB / 482.5 MB, free: 408 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.1568, allocations: 69.69 kB / 482.5 MB, free: 332 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.157, allocations: 362.8 kB / 482.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/0.1574, allocations: 161.2 kB / 483 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.1579, allocations: 254.5 kB / 483.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/0.1588, allocations: 0.5348 MB / 483.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1588, allocations: 3.938 kB / 483.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001228/0.1601, allocations: 0.5923 MB / 484.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/0.1602, allocations: 95.38 kB / 484.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1602, allocations: 4 kB / 484.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.1604, allocations: 24.84 kB / 484.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.1607, allocations: 80.22 kB / 484.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.1618, allocations: 1.39 MB / 486 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.1623, allocations: 79.58 kB / 486.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.1623, allocations: 19.94 kB / 486.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000577/0.1629, allocations: 320.4 kB / 486.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004077/0.1633, allocations: 242.9 kB / 486.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008259/0.1642, allocations: 0.5148 MB / 487.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.1642, allocations: 0 / 487.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001138/0.1653, allocations: 0.5613 MB / 487.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.549e-05/0.1654, allocations: 89.09 kB / 487.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1654, allocations: 4.375 kB / 487.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.496e-05/0.1655, allocations: 32.78 kB / 487.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.1658, allocations: 75.89 kB / 487.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.1669, allocations: 1.386 MB / 489.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.1674, allocations: 51.81 kB / 489.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.1674, allocations: 28.08 kB / 489.4 MB, free: 8.836 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.0002394/0.1677, allocations: 264.4 kB / 489.6 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.1678, allocations: 55.67 kB / 489.7 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.1689, allocations: 0.4921 MB / 490.2 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1689, allocations: 0 / 490.2 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1689, allocations: 4 kB / 490.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.169, allocations: 3.984 kB / 490.2 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.1708, allocations: 1.128 MB / 491.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1709, allocations: 4 kB / 491.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.1712, allocations: 55.89 kB / 491.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-05/0.1713, allocations: 24.84 kB / 491.4 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.1713, allocations: 11.94 kB / 491.4 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.1724, allocations: 1.375 MB / 492.8 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1724, allocations: 160 / 492.8 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.174, allocations: 0.7742 MB / 493.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.1741, allocations: 132.8 kB / 493.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.1742, allocations: 8 kB / 493.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.1746, allocations: 40.05 kB / 493.7 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.1747, allocations: 31.95 kB / 493.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.1747, allocations: 19.92 kB / 493.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005083/0.1752, allocations: 410.8 kB / 494.2 MB, free: 3.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1753, allocations: 0 / 494.2 MB, free: 3.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009117/0.1762, allocations: 275.1 kB / 494.5 MB, free: 3.445 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.0008657/0.177, allocations: 363.2 kB / 494.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002/0.1791, allocations: 1.155 MB / 496 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1791, allocations: 0 / 496 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.1797, allocations: 434.1 kB / 496.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.1803, allocations: 95.47 kB / 496.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.1826, allocations: 1.201 MB / 497.7 MB, free: 184 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.1831, allocations: 0.8855 MB / 498.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.1834, allocations: 59.36 kB / 498.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.1835, allocations: 35.44 kB / 498.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1835, allocations: 0 / 498.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of Templates: time 0.01452/0.198, allocations: 7.071 MB / 0.4939 GB, free: 8.129 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)