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.001051/0.001051, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001053/0.001053, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1737/0.1737, allocations: 8.03 MB / 298.1 MB, free: 2.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 360.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08474/0.086, allocations: 51.2 MB / 411.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004842/0.09087, allocations: 4.147 MB / 415.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.09282, allocations: 1.403 MB / 416.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.09305, allocations: 8 kB / 416.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.09341, allocations: 119.3 kB / 417 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.09383, allocations: 167 kB / 417.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.0944, allocations: 347.2 kB / 417.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007256/0.09513, allocations: 0.8378 MB / 418.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005852/0.09573, allocations: 0.492 MB / 418.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.09604, allocations: 326.8 kB / 419.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.09637, allocations: 350.5 kB / 419.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.09648, allocations: 99.94 kB / 419.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.09666, allocations: 135.9 kB / 419.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.09685, allocations: 199.4 kB / 419.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.09717, allocations: 410.1 kB / 420.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000816/0.09799, allocations: 1.016 MB / 421.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.098, allocations: 0 / 421.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09801, allocations: 0 / 421.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.09803, allocations: 4 kB / 421.3 MB, free: 1.371 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.001656/0.09969, allocations: 1.112 MB / 422.4 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.09973, allocations: 8.031 kB / 422.5 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.09987, allocations: 84 kB / 422.5 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1427/0.2426, allocations: 0.4913 MB / 423 MB, free: 44.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/0.2427, allocations: 49.91 kB / 423.1 MB, free: 44.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.2428, allocations: 68.33 kB / 423.1 MB, free: 44.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.244, allocations: 0.6722 MB / 423.8 MB, free: 44.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.244, allocations: 2.906 kB / 423.8 MB, free: 44.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.2441, allocations: 26.75 kB / 423.8 MB, free: 44.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2441, allocations: 17.19 kB / 423.9 MB, free: 44.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009877/0.2451, allocations: 497.5 kB / 424.3 MB, free: 44.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.248, allocations: 2.578 MB / 426.9 MB, free: 43.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007885/0.2488, allocations: 434.2 kB / 427.3 MB, free: 42.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.2492, allocations: 170.5 kB / 427.5 MB, free: 42.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.2492, allocations: 3.781 kB / 427.5 MB, free: 42.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005175/0.2497, allocations: 248.7 kB / 427.8 MB, free: 42.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/0.2497, allocations: 2.438 kB / 427.8 MB, free: 42.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001306/0.2511, allocations: 0.6887 MB / 428.5 MB, free: 42.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.2511, allocations: 138.8 kB / 428.6 MB, free: 42.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/0.2516, allocations: 0.5495 MB / 429.1 MB, free: 41.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.2516, allocations: 36.94 kB / 429.2 MB, free: 41.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.2518, allocations: 347.6 kB / 429.5 MB, free: 41.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.2518, allocations: 104.2 kB / 429.6 MB, free: 41.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.252, allocations: 78.53 kB / 429.7 MB, free: 41.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.508e-05/0.252, allocations: 367.5 kB / 430.1 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.2524, allocations: 161.8 kB / 430.2 MB, free: 41.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.2528, allocations: 255.8 kB / 430.5 MB, free: 41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.2535, allocations: 0.5318 MB / 431 MB, free: 40.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2535, allocations: 0 / 431 MB, free: 40.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009388/0.2544, allocations: 0.5979 MB / 431.6 MB, free: 40.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.2545, allocations: 90.88 kB / 431.7 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2545, allocations: 3.125 kB / 431.7 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.2546, allocations: 24.28 kB / 431.7 MB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.2549, allocations: 77.83 kB / 431.8 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006237/0.2556, allocations: 1.395 MB / 433.2 MB, free: 38.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.256, allocations: 77.28 kB / 433.2 MB, free: 38.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.256, allocations: 23.67 kB / 433.3 MB, free: 38.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004357/0.2564, allocations: 314.3 kB / 433.6 MB, free: 38.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000329/0.2568, allocations: 244.4 kB / 433.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000616/0.2574, allocations: 0.5163 MB / 434.3 MB, free: 38.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.2574, allocations: 0 / 434.3 MB, free: 38.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008526/0.2583, allocations: 0.5619 MB / 434.9 MB, free: 37.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.2583, allocations: 95.03 kB / 435 MB, free: 37.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2583, allocations: 3.188 kB / 435 MB, free: 37.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-05/0.2584, allocations: 29.23 kB / 435 MB, free: 37.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.2587, allocations: 73.05 kB / 435.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005551/0.2592, allocations: 1.387 MB / 436.5 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.2596, allocations: 59.92 kB / 436.5 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.2596, allocations: 20.19 kB / 436.6 MB, free: 36.22 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.0001281/0.2598, allocations: 266.6 kB / 436.8 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.2598, allocations: 49.34 kB / 436.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009172/0.2608, allocations: 0.4994 MB / 437.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2608, allocations: 3.188 kB / 437.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.2608, allocations: 0 / 437.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2608, allocations: 3.469 kB / 437.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.2622, allocations: 1.138 MB / 438.5 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2622, allocations: 0 / 438.5 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.2625, allocations: 63.67 kB / 438.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.501e-05/0.2625, allocations: 18.45 kB / 438.6 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.2626, allocations: 15.05 kB / 438.6 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005469/0.2631, allocations: 1.374 MB / 440 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2631, allocations: 3.156 kB / 440 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.2644, allocations: 0.7731 MB / 440.8 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.2645, allocations: 132.5 kB / 440.9 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.2645, allocations: 10.64 kB / 440.9 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.2649, allocations: 44.27 kB / 440.9 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.265, allocations: 30.77 kB / 441 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.265, allocations: 9.656 kB / 441 MB, free: 33.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003293/0.2654, allocations: 409.2 kB / 441.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2654, allocations: 0 / 441.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006499/0.266, allocations: 273.9 kB / 441.6 MB, free: 32.77 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.0007721/0.2668, allocations: 369.7 kB / 442 MB, free: 32.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.2684, allocations: 1.171 MB / 443.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2684, allocations: 64 / 443.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005016/0.2689, allocations: 431.4 kB / 443.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.2694, allocations: 90.7 kB / 443.7 MB, free: 31.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.2711, allocations: 1.474 MB / 445.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.2713, allocations: 0.8952 MB / 446.1 MB, free: 29.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002209/0.2716, allocations: 61.92 kB / 446.1 MB, free: 29.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.178e-05/0.2717, allocations: 35.59 kB / 446.2 MB, free: 29.81 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2717, allocations: 0 / 446.2 MB, free: 29.81 MB / 350.1 MB Notification: Performance of Templates: time 0.01071/0.2824, allocations: 6.819 MB / 453 MB, free: 29.25 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)