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.01231/0.01231, allocations: 101 kB / 15.87 MB, free: 5.867 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.002495/0.002495, allocations: 191.8 kB / 16.79 MB, free: 5.809 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.628/1.628, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2869/0.2869, allocations: 8.026 MB / 298.6 MB, free: 2.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00269/0.002691, allocations: 67.89 kB / 360.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1885, allocations: 51.2 MB / 411.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.008049/0.1967, allocations: 4.157 MB / 415.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.2005, allocations: 1.418 MB / 417.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009784/0.2015, allocations: 12 kB / 417.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008202/0.2024, allocations: 119.3 kB / 417.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.2035, allocations: 163 kB / 417.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2045, allocations: 343.2 kB / 418 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008873/0.2054, allocations: 0.7636 MB / 418.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00078/0.2062, allocations: 451 kB / 419.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.2066, allocations: 270.9 kB / 419.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004859/0.2071, allocations: 334.4 kB / 419.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.369e-05/0.2072, allocations: 56 kB / 419.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.2075, allocations: 87.92 kB / 419.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.2077, allocations: 155.4 kB / 420.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.2081, allocations: 362 kB / 420.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000869/0.209, allocations: 0.8108 MB / 421.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.209, allocations: 0 / 421.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.209, allocations: 0 / 421.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.209, allocations: 0 / 421.2 MB, free: 2.051 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.002219/0.2112, allocations: 1.112 MB / 422.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.2113, allocations: 12.03 kB / 422.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.2115, allocations: 80 kB / 422.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007441/0.2122, allocations: 0.4977 MB / 422.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.2124, allocations: 53.25 kB / 423 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.2125, allocations: 71.89 kB / 423.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3163/0.5288, allocations: 0.6606 MB / 423.7 MB, free: 44.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.5289, allocations: 1.594 kB / 423.7 MB, free: 44.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.915e-05/0.529, allocations: 33.39 kB / 423.8 MB, free: 44.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.529, allocations: 14.75 kB / 423.8 MB, free: 44.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.5301, allocations: 488.4 kB / 424.2 MB, free: 44.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003807/0.5339, allocations: 2.581 MB / 426.8 MB, free: 43.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/0.5349, allocations: 423.6 kB / 427.2 MB, free: 43.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.5353, allocations: 172.7 kB / 427.4 MB, free: 43.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.5354, allocations: 4.281 kB / 427.4 MB, free: 43.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006991/0.5361, allocations: 259.6 kB / 427.7 MB, free: 43.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.625e-06/0.5361, allocations: 1.641 kB / 427.7 MB, free: 43.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001549/0.5376, allocations: 0.6902 MB / 428.4 MB, free: 42.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.5377, allocations: 138.3 kB / 428.5 MB, free: 42.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.5384, allocations: 0.554 MB / 429 MB, free: 42.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.5384, allocations: 39.14 kB / 429.1 MB, free: 42.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.5386, allocations: 347.5 kB / 429.4 MB, free: 42.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.124e-05/0.5387, allocations: 108.7 kB / 429.5 MB, free: 41.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.5389, allocations: 74.67 kB / 429.6 MB, free: 41.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.539, allocations: 361 kB / 430 MB, free: 41.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.5394, allocations: 161.6 kB / 430.1 MB, free: 41.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.5398, allocations: 257.5 kB / 430.4 MB, free: 41.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007893/0.5406, allocations: 0.5329 MB / 430.9 MB, free: 40.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5407, allocations: 0 / 430.9 MB, free: 40.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001058/0.5417, allocations: 0.5975 MB / 431.5 MB, free: 40.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-05/0.5418, allocations: 90.02 kB / 431.6 MB, free: 40.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.5418, allocations: 2.516 kB / 431.6 MB, free: 40.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.542, allocations: 28.12 kB / 431.6 MB, free: 40.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.5423, allocations: 77.66 kB / 431.7 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008723/0.5432, allocations: 1.282 MB / 433 MB, free: 39.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.5437, allocations: 84.39 kB / 433.1 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.5437, allocations: 20.05 kB / 433.1 MB, free: 39.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005455/0.5443, allocations: 313.5 kB / 433.4 MB, free: 39.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003791/0.5447, allocations: 250.6 kB / 433.6 MB, free: 38.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007118/0.5454, allocations: 0.5112 MB / 434.1 MB, free: 38.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.5454, allocations: 0 / 434.1 MB, free: 38.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001016/0.5464, allocations: 0.5635 MB / 434.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.5465, allocations: 85.77 kB / 434.8 MB, free: 38.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5465, allocations: 2.875 kB / 434.8 MB, free: 38.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.239e-05/0.5466, allocations: 27.77 kB / 434.8 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.5469, allocations: 83.92 kB / 434.9 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007967/0.5477, allocations: 1.283 MB / 436.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.5481, allocations: 72.95 kB / 436.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.5482, allocations: 16.66 kB / 436.3 MB, free: 36.76 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 (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.0002233/0.5484, allocations: 263.7 kB / 436.5 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.5485, allocations: 48.53 kB / 436.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.5495, allocations: 0.5024 MB / 437.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5495, allocations: 3.156 kB / 437.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5496, allocations: 0 / 437.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5496, allocations: 3.828 kB / 437.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.5513, allocations: 1.144 MB / 438.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5513, allocations: 0 / 438.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.5516, allocations: 64.22 kB / 438.3 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.985e-05/0.5517, allocations: 24.19 kB / 438.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.5517, allocations: 7.312 kB / 438.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006965/0.5524, allocations: 1.277 MB / 439.6 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5524, allocations: 0 / 439.6 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.5538, allocations: 0.7743 MB / 440.4 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.5539, allocations: 131.2 kB / 440.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.554, allocations: 13.88 kB / 440.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.5543, allocations: 40.2 kB / 440.6 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.5545, allocations: 33.17 kB / 440.6 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.5545, allocations: 12.92 kB / 440.6 MB, free: 33.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004572/0.555, allocations: 406.8 kB / 441 MB, free: 33.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.555, allocations: 0 / 441 MB, free: 33.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008657/0.5558, allocations: 274.5 kB / 441.3 MB, free: 33.41 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,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.001027/0.5569, allocations: 367 kB / 441.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.5587, allocations: 1.164 MB / 442.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5588, allocations: 0 / 442.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.5593, allocations: 425.3 kB / 443.2 MB, free: 32.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.56, allocations: 81.62 kB / 443.3 MB, free: 32.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.5624, allocations: 1.497 MB / 444.8 MB, free: 31.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.5628, allocations: 0.8952 MB / 445.7 MB, free: 30.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.5629, allocations: 37.97 kB / 445.7 MB, free: 30.48 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5629, allocations: 0 / 445.7 MB, free: 30.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01445/0.5774, allocations: 10.34 MB / 456.1 MB, free: 29.34 MB / 350.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)