Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.001224/0.001224, allocations: 104.7 kB / 16.41 MB, free: 6.512 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.001271/0.001271, allocations: 187 kB / 17.34 MB, free: 5.742 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.229/1.229, allocations: 222.9 MB / 241 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.03611/0.03611, allocations: 8.032 MB / 299.2 MB, free: 6.805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 71.89 kB / 413.7 MB, free: 22.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07951/0.08068, allocations: 51.19 MB / 464.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004967/0.08569, allocations: 4.141 MB / 469.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.08776, allocations: 1.414 MB / 470.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.08802, allocations: 15.94 kB / 470.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.08842, allocations: 154.8 kB / 470.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004688/0.0889, allocations: 202.5 kB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.08952, allocations: 386.1 kB / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007002/0.09023, allocations: 0.8572 MB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005937/0.09083, allocations: 499.6 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.09114, allocations: 330.8 kB / 472.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003497/0.09149, allocations: 362.4 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.96e-05/0.0916, allocations: 96 kB / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.09177, allocations: 120 kB / 473.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.09195, allocations: 207.4 kB / 473.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.09226, allocations: 410.1 kB / 474.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008341/0.0931, allocations: 1.036 MB / 475.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09311, allocations: 0 / 475.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09312, allocations: 4 kB / 475.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.09314, allocations: 0 / 475.1 MB, free: 8.836 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.001622/0.09477, allocations: 1.116 MB / 476.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.09481, allocations: 12.03 kB / 476.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.09494, allocations: 84 kB / 476.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/0.0956, allocations: 0.5015 MB / 476.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.09565, allocations: 53.25 kB / 476.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/0.09575, allocations: 71.89 kB / 476.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.09684, allocations: 0.6684 MB / 477.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.09688, allocations: 3.938 kB / 477.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.09694, allocations: 28 kB / 477.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.09696, allocations: 19.94 kB / 477.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.09799, allocations: 493 kB / 478.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.1012, allocations: 2.544 MB / 480.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008601/0.1021, allocations: 430.6 kB / 481.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.1025, allocations: 169 kB / 481.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.1025, allocations: 8.219 kB / 481.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004948/0.103, allocations: 253.7 kB / 481.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.103, allocations: 0 / 481.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001443/0.1045, allocations: 0.6856 MB / 482.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.1046, allocations: 132.5 kB / 482.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.1051, allocations: 0.5682 MB / 482.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.1052, allocations: 33.7 kB / 482.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.1054, allocations: 340 kB / 483.3 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.037e-05/0.1055, allocations: 106.5 kB / 483.4 MB, free: 164 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.1056, allocations: 77.69 kB / 483.5 MB, free: 80 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1057, allocations: 358.8 kB / 483.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.1061, allocations: 165.2 kB / 484 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.1066, allocations: 262.4 kB / 484.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007965/0.1074, allocations: 0.5309 MB / 484.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1074, allocations: 0 / 484.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00103/0.1084, allocations: 0.592 MB / 485.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.1085, allocations: 85.11 kB / 485.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1085, allocations: 7.984 kB / 485.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.1086, allocations: 20.86 kB / 485.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.109, allocations: 92.16 kB / 485.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008864/0.1099, allocations: 1.375 MB / 486.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.1102, allocations: 79.42 kB / 487 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.1103, allocations: 23.92 kB / 487 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004977/0.1108, allocations: 312.5 kB / 487.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003718/0.1112, allocations: 242.9 kB / 487.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007202/0.1119, allocations: 0.5265 MB / 488.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.1119, allocations: 0 / 488.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009632/0.1129, allocations: 0.5571 MB / 488.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.1129, allocations: 93.48 kB / 488.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.113, allocations: 4 kB / 488.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.54e-05/0.113, allocations: 32.78 kB / 488.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.1133, allocations: 67.89 kB / 488.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007929/0.1141, allocations: 1.39 MB / 490.2 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.1145, allocations: 63.73 kB / 490.3 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.1146, allocations: 20 kB / 490.3 MB, free: 8.598 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.0001783/0.1147, allocations: 272.3 kB / 490.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.1148, allocations: 51.44 kB / 490.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009858/0.1158, allocations: 496 kB / 491.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1158, allocations: 4 kB / 491.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.1158, allocations: 0 / 491.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1158, allocations: 3.938 kB / 491.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.1174, allocations: 1.143 MB / 492.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1174, allocations: 7.938 kB / 492.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.1177, allocations: 59.89 kB / 492.3 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-05/0.1178, allocations: 20.84 kB / 492.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.1178, allocations: 8 kB / 492.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007927/0.1186, allocations: 1.375 MB / 493.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1186, allocations: 12.17 kB / 493.7 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.12, allocations: 0.7777 MB / 494.5 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1201, allocations: 132.5 kB / 494.7 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.1202, allocations: 8 kB / 494.7 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.1205, allocations: 43.89 kB / 494.7 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.1206, allocations: 27.97 kB / 494.7 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1207, allocations: 11.98 kB / 494.7 MB, free: 3.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004133/0.1211, allocations: 414.8 kB / 495.1 MB, free: 3.453 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1211, allocations: 0 / 495.1 MB, free: 3.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007053/0.1218, allocations: 274.8 kB / 495.4 MB, free: 3.184 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.0007799/0.1226, allocations: 361.5 kB / 495.8 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.1243, allocations: 1.159 MB / 496.9 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1243, allocations: 0 / 496.9 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005585/0.1249, allocations: 430.2 kB / 497.3 MB, free: 1.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.1254, allocations: 96.81 kB / 497.4 MB, free: 1.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.1273, allocations: 1.219 MB / 498.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.1277, allocations: 0.9009 MB / 499.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.1278, allocations: 39.44 kB / 499.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1278, allocations: 3.938 kB / 499.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of Templates: time 0.01157/0.1394, allocations: 10.4 MB / 0.4981 GB, free: 4.52 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)