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.001507/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001883/0.001883, allocations: 192.2 kB / 16.14 MB, free: 6.688 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2135/0.2135, allocations: 8.031 MB / 298 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 359.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 51.2 MB / 411.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.008994/0.1144, allocations: 4.125 MB / 415.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.1189, allocations: 1.411 MB / 416.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007407/0.1197, allocations: 11.94 kB / 416.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007057/0.1204, allocations: 119.3 kB / 416.8 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007722/0.1212, allocations: 159 kB / 417 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1226, allocations: 347.2 kB / 417.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.1239, allocations: 0.7515 MB / 418 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009156/0.1248, allocations: 398.4 kB / 418.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000471/0.1253, allocations: 274.9 kB / 418.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005024/0.1258, allocations: 326.5 kB / 419 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.126, allocations: 51.94 kB / 419.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.1263, allocations: 79.97 kB / 419.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.1266, allocations: 155.4 kB / 419.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004566/0.1271, allocations: 354.1 kB / 419.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.1285, allocations: 0.958 MB / 420.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1285, allocations: 0 / 420.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1285, allocations: 0 / 420.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1285, allocations: 0 / 420.6 MB, free: 2.098 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.002746/0.1313, allocations: 1.102 MB / 421.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.1315, allocations: 12.03 kB / 421.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.1317, allocations: 83.94 kB / 421.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.1328, allocations: 0.4895 MB / 422.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/0.1329, allocations: 53.25 kB / 422.3 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.133, allocations: 64 kB / 422.4 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2338/0.3668, allocations: 0.6526 MB / 423.1 MB, free: 44.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.3669, allocations: 1.156 kB / 423.1 MB, free: 44.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.367, allocations: 28.09 kB / 423.1 MB, free: 44.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.367, allocations: 17.3 kB / 423.1 MB, free: 44.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.3682, allocations: 482.7 kB / 423.6 MB, free: 44.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.3715, allocations: 2.51 MB / 426.1 MB, free: 43.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009006/0.3724, allocations: 414.5 kB / 426.5 MB, free: 43.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.3728, allocations: 175.3 kB / 426.7 MB, free: 43.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.3728, allocations: 7.547 kB / 426.7 MB, free: 43.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006157/0.3734, allocations: 243.2 kB / 426.9 MB, free: 43.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.365e-06/0.3735, allocations: 0 / 426.9 MB, free: 43.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001442/0.3749, allocations: 0.6925 MB / 427.6 MB, free: 42.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.375, allocations: 131.8 kB / 427.7 MB, free: 42.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.3755, allocations: 0.558 MB / 428.3 MB, free: 42.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.3755, allocations: 33.64 kB / 428.3 MB, free: 42.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.3757, allocations: 340.2 kB / 428.7 MB, free: 41.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.3758, allocations: 110.2 kB / 428.8 MB, free: 41.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3759, allocations: 70.75 kB / 428.8 MB, free: 41.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.376, allocations: 367.5 kB / 429.2 MB, free: 41.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.3763, allocations: 163 kB / 429.3 MB, free: 41.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.3767, allocations: 254.8 kB / 429.6 MB, free: 41.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.3775, allocations: 0.5266 MB / 430.1 MB, free: 40.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-06/0.3775, allocations: 4.188 kB / 430.1 MB, free: 40.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001036/0.3785, allocations: 0.5907 MB / 430.7 MB, free: 40.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.3786, allocations: 91.86 kB / 430.8 MB, free: 40.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3786, allocations: 3.125 kB / 430.8 MB, free: 40.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.3788, allocations: 24.72 kB / 430.8 MB, free: 40.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.3791, allocations: 86.75 kB / 430.9 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008235/0.3799, allocations: 1.286 MB / 432.2 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.3804, allocations: 80.36 kB / 432.3 MB, free: 39.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.3804, allocations: 16.66 kB / 432.3 MB, free: 39.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005103/0.3809, allocations: 310.1 kB / 432.6 MB, free: 39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003571/0.3813, allocations: 248.9 kB / 432.8 MB, free: 38.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006543/0.382, allocations: 0.5078 MB / 433.4 MB, free: 38.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.382, allocations: 6.938 kB / 433.4 MB, free: 38.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000876/0.3829, allocations: 0.557 MB / 433.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.3829, allocations: 95.67 kB / 434 MB, free: 38.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3829, allocations: 3.375 kB / 434 MB, free: 38.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.82e-05/0.383, allocations: 36.56 kB / 434 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.3833, allocations: 74.7 kB / 434.1 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006057/0.3839, allocations: 1.286 MB / 435.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.3843, allocations: 62.98 kB / 435.5 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.3843, allocations: 15.64 kB / 435.5 MB, free: 36.71 MB / 350.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.0001434/0.3845, allocations: 273.9 kB / 435.8 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.3845, allocations: 51.98 kB / 435.8 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009438/0.3855, allocations: 493.7 kB / 436.3 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3855, allocations: 6.484 kB / 436.3 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3855, allocations: 11.06 kB / 436.3 MB, free: 36.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3855, allocations: 0 / 436.3 MB, free: 36.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.387, allocations: 1.125 MB / 437.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.387, allocations: 3.188 kB / 437.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.3873, allocations: 63.14 kB / 437.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.119e-05/0.3874, allocations: 21.72 kB / 437.5 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.3874, allocations: 7.219 kB / 437.5 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005449/0.388, allocations: 1.275 MB / 438.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.388, allocations: 6.219 kB / 438.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3892, allocations: 0.7689 MB / 439.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/0.3893, allocations: 132.6 kB / 439.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.3894, allocations: 13.88 kB / 439.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.3897, allocations: 41.19 kB / 439.8 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3898, allocations: 35.42 kB / 439.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.3899, allocations: 12.94 kB / 439.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003916/0.3903, allocations: 404 kB / 440.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3903, allocations: 6.406 kB / 440.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007121/0.391, allocations: 269.8 kB / 440.5 MB, free: 33.37 MB / 350.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.0007928/0.3918, allocations: 360.5 kB / 440.8 MB, free: 33.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.3934, allocations: 1.161 MB / 442 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3934, allocations: 7.531 kB / 442 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.394, allocations: 422.5 kB / 442.4 MB, free: 32.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.3946, allocations: 81.09 kB / 442.5 MB, free: 32.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.3964, allocations: 1.436 MB / 443.9 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.3967, allocations: 0.8957 MB / 444.8 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.397, allocations: 65.78 kB / 444.9 MB, free: 30.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.3971, allocations: 35.97 kB / 444.9 MB, free: 30.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3971, allocations: 3.938 kB / 444.9 MB, free: 30.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01067/0.4078, allocations: 6.481 MB / 451.4 MB, free: 29.93 MB / 350.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)