Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.0009153/0.0009153, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.000818/0.0008179, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1404/0.1404, allocations: 8.014 MB / 299.1 MB, free: 3.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 8 kB / 361.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08273, allocations: 52.19 MB / 414 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.003812/0.08659, allocations: 3.556 MB / 417.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.08844, allocations: 1.325 MB / 418.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.08872, allocations: 12 kB / 418.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.08905, allocations: 115.3 kB / 419 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.08946, allocations: 159 kB / 419.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.09003, allocations: 250.9 kB / 419.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006847/0.09072, allocations: 0.7363 MB / 420.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.09122, allocations: 358.2 kB / 420.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.09149, allocations: 231 kB / 420.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.09179, allocations: 266.6 kB / 420.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.09186, allocations: 32 kB / 421 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.092, allocations: 63.98 kB / 421 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.09215, allocations: 127.5 kB / 421.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.0923, allocations: 161.3 kB / 421.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.09295, allocations: 0.787 MB / 422.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.09297, allocations: 0 / 422.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09297, allocations: 0 / 422.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.09299, allocations: 0 / 422.1 MB, free: 1.883 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.001495/0.09449, allocations: 1.003 MB / 423.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.09453, allocations: 12.03 kB / 423.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.09467, allocations: 86.97 kB / 423.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000587/0.09526, allocations: 484.7 kB / 423.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.09532, allocations: 53.3 kB / 423.7 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-05/0.09542, allocations: 68 kB / 423.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1513/0.2467, allocations: 0.6758 MB / 424.5 MB, free: 41.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.2467, allocations: 1.219 kB / 424.5 MB, free: 41.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.2468, allocations: 31.7 kB / 424.5 MB, free: 41.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.2468, allocations: 16.19 kB / 424.5 MB, free: 41.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.2478, allocations: 0.5064 MB / 425 MB, free: 41.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.2509, allocations: 2.612 MB / 427.6 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/0.2517, allocations: 456.5 kB / 428.1 MB, free: 40.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.252, allocations: 189.3 kB / 428.3 MB, free: 40.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.2521, allocations: 3.484 kB / 428.3 MB, free: 40.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.2526, allocations: 269 kB / 428.5 MB, free: 40.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.2526, allocations: 3.312 kB / 428.5 MB, free: 40.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001329/0.2539, allocations: 0.7291 MB / 429.3 MB, free: 40.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.254, allocations: 138.9 kB / 429.4 MB, free: 40.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.2545, allocations: 0.5511 MB / 430 MB, free: 40.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.2545, allocations: 32.89 kB / 430 MB, free: 40.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.2547, allocations: 348 kB / 430.3 MB, free: 39.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.2548, allocations: 111 kB / 430.4 MB, free: 39.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.2548, allocations: 6.438 kB / 430.4 MB, free: 39.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.409e-05/0.2549, allocations: 373.4 kB / 430.8 MB, free: 39.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.2552, allocations: 166.4 kB / 431 MB, free: 39.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.2556, allocations: 269.9 kB / 431.2 MB, free: 39.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.256, allocations: 276.7 kB / 431.5 MB, free: 39.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.256, allocations: 0 / 431.5 MB, free: 39.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00102/0.257, allocations: 0.6089 MB / 432.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/0.2571, allocations: 266.6 kB / 432.4 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2571, allocations: 3.094 kB / 432.4 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/0.2573, allocations: 31.12 kB / 432.4 MB, free: 38.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.2576, allocations: 87.39 kB / 432.5 MB, free: 38.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006102/0.2582, allocations: 1.283 MB / 433.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.2586, allocations: 89.64 kB / 433.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.2587, allocations: 20.39 kB / 433.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-06/0.2587, allocations: 3.062 kB / 433.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008874/0.2596, allocations: 0.5379 MB / 434.4 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2596, allocations: 13.28 kB / 434.4 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.411e-05/0.2597, allocations: 24.91 kB / 434.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.2599, allocations: 84.64 kB / 434.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005471/0.2605, allocations: 1.282 MB / 435.8 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.2609, allocations: 81.72 kB / 435.9 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.2609, allocations: 15.34 kB / 435.9 MB, free: 36 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 ($whenCondition1,oneFlangeConn.limTau.state,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002351/0.2611, allocations: 364.8 kB / 436.3 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.2612, allocations: 53.09 kB / 436.3 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009091/0.2621, allocations: 0.5209 MB / 436.9 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2621, allocations: 3.344 kB / 436.9 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2621, allocations: 3.953 kB / 436.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2621, allocations: 3.062 kB / 436.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.2635, allocations: 1.172 MB / 438 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2635, allocations: 3.953 kB / 438 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.2638, allocations: 63.97 kB / 438.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-05/0.2639, allocations: 27.45 kB / 438.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.2639, allocations: 10.47 kB / 438.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005286/0.2645, allocations: 1.285 MB / 439.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2645, allocations: 0 / 439.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.2657, allocations: 0.8124 MB / 440.2 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.2658, allocations: 135.2 kB / 440.4 MB, free: 32.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.2659, allocations: 7.312 kB / 440.4 MB, free: 32.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/0.2662, allocations: 61.62 kB / 440.4 MB, free: 32.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.2663, allocations: 27.06 kB / 440.5 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.2663, allocations: 13.66 kB / 440.5 MB, free: 32.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003365/0.2667, allocations: 400.6 kB / 440.9 MB, free: 32.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2667, allocations: 4 kB / 440.9 MB, free: 32.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006405/0.2673, allocations: 278.6 kB / 441.1 MB, free: 32.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007469/0.2681, allocations: 361.7 kB / 441.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.2696, allocations: 1.206 MB / 442.7 MB, free: 31.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2696, allocations: 0.5625 kB / 442.7 MB, free: 31.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.2701, allocations: 448 kB / 443.1 MB, free: 31.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.2706, allocations: 87.41 kB / 443.2 MB, free: 31.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2722, allocations: 1.451 MB / 444.7 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.2725, allocations: 0.897 MB / 445.6 MB, free: 29.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.2727, allocations: 65.03 kB / 445.6 MB, free: 29.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.034e-05/0.2728, allocations: 37.12 kB / 445.7 MB, free: 29.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2728, allocations: 0 / 445.7 MB, free: 29.65 MB / 350.1 MB Notification: Performance of Templates: time 0.009274/0.2821, allocations: 6.283 MB / 452 MB, free: 29.09 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)