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.001394/0.001394, 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.00155/0.00155, allocations: 192.5 kB / 16.25 MB, free: 6.617 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.292/1.292, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1529/0.1529, allocations: 8.021 MB / 298.1 MB, free: 2.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.91 kB / 360.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08335/0.0845, allocations: 51.19 MB / 411.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005296/0.08983, allocations: 4.153 MB / 415.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.09186, allocations: 1.395 MB / 416.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.09209, allocations: 15.94 kB / 416.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.09246, allocations: 111.3 kB / 417 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.09291, allocations: 171 kB / 417.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.09349, allocations: 343.2 kB / 417.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007017/0.09421, allocations: 0.8456 MB / 418.3 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.0948, allocations: 495.9 kB / 418.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.09511, allocations: 330.8 kB / 419.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.09548, allocations: 366.4 kB / 419.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.09559, allocations: 96 kB / 419.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.09576, allocations: 124 kB / 419.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.09596, allocations: 207.4 kB / 419.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.09627, allocations: 402.1 kB / 420.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008316/0.09711, allocations: 1.02 MB / 421.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.09713, allocations: 0 / 421.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09713, allocations: 0 / 421.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.09715, allocations: 4 kB / 421.3 MB, free: 1.367 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.001661/0.09882, allocations: 1.104 MB / 422.4 MB, free: 200 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.09886, allocations: 16.03 kB / 422.5 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.099, allocations: 83.98 kB / 422.5 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1434/0.2424, allocations: 0.4944 MB / 423 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.2425, allocations: 48.38 kB / 423.1 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/0.2426, allocations: 70.89 kB / 423.1 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.2438, allocations: 0.6693 MB / 423.8 MB, free: 44.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.2438, allocations: 0.8438 kB / 423.8 MB, free: 44.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.2439, allocations: 25.69 kB / 423.8 MB, free: 44.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.2439, allocations: 15.03 kB / 423.9 MB, free: 44.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009929/0.2449, allocations: 0.4883 MB / 424.3 MB, free: 44.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002973/0.2479, allocations: 2.574 MB / 426.9 MB, free: 42.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008296/0.2487, allocations: 431.2 kB / 427.3 MB, free: 42.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.2491, allocations: 173.1 kB / 427.5 MB, free: 42.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.2491, allocations: 3.484 kB / 427.5 MB, free: 42.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005275/0.2497, allocations: 259.7 kB / 427.8 MB, free: 42.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.454e-06/0.2497, allocations: 0 / 427.8 MB, free: 42.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001355/0.251, allocations: 0.6815 MB / 428.5 MB, free: 42.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.2511, allocations: 143.2 kB / 428.6 MB, free: 42.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/0.2516, allocations: 0.5502 MB / 429.1 MB, free: 41.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.2516, allocations: 36.92 kB / 429.2 MB, free: 41.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.2518, allocations: 343.9 kB / 429.5 MB, free: 41.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.2518, allocations: 106.1 kB / 429.6 MB, free: 41.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.252, allocations: 76.52 kB / 429.7 MB, free: 41.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.252, allocations: 363.6 kB / 430 MB, free: 41.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.2524, allocations: 169 kB / 430.2 MB, free: 40.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.2528, allocations: 254.9 kB / 430.5 MB, free: 40.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.2535, allocations: 0.5323 MB / 431 MB, free: 40.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2535, allocations: 0 / 431 MB, free: 40.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009574/0.2545, allocations: 0.5948 MB / 431.6 MB, free: 40.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.2545, allocations: 90.23 kB / 431.7 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2546, allocations: 3.156 kB / 431.7 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/0.2547, allocations: 24.73 kB / 431.7 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.255, allocations: 82.67 kB / 431.8 MB, free: 40.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006958/0.2557, allocations: 1.386 MB / 433.2 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.2561, allocations: 77.36 kB / 433.2 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.2562, allocations: 16.33 kB / 433.3 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004488/0.2566, allocations: 319 kB / 433.6 MB, free: 38.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003337/0.2569, allocations: 247 kB / 433.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006403/0.2576, allocations: 0.5119 MB / 434.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.2576, allocations: 7.25 kB / 434.3 MB, free: 37.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000888/0.2585, allocations: 0.5712 MB / 434.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.2585, allocations: 91.28 kB / 435 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2586, allocations: 3.344 kB / 435 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.605e-05/0.2586, allocations: 25.05 kB / 435 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.2589, allocations: 79.3 kB / 435.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005774/0.2595, allocations: 1.381 MB / 436.5 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.2599, allocations: 63.05 kB / 436.5 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.2599, allocations: 15.97 kB / 436.6 MB, free: 36.03 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.0001193/0.26, allocations: 271.5 kB / 436.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.2601, allocations: 48.31 kB / 436.9 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009243/0.261, allocations: 0.4981 MB / 437.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.261, allocations: 3.094 kB / 437.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.2611, allocations: 3.125 kB / 437.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2611, allocations: 0 / 437.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.2624, allocations: 1.143 MB / 438.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2624, allocations: 3.938 kB / 438.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.2627, allocations: 55.11 kB / 438.6 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-05/0.2628, allocations: 29.69 kB / 438.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.2628, allocations: 7 kB / 438.6 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005705/0.2634, allocations: 1.374 MB / 440 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2634, allocations: 0 / 440 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.2647, allocations: 0.77 MB / 440.8 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/0.2648, allocations: 132.7 kB / 440.9 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.2648, allocations: 10.75 kB / 440.9 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.2652, allocations: 47.75 kB / 440.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.2653, allocations: 27.78 kB / 441 MB, free: 32.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.2653, allocations: 13.94 kB / 441 MB, free: 32.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.2657, allocations: 401.5 kB / 441.4 MB, free: 32.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2657, allocations: 0 / 441.4 MB, free: 32.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006251/0.2663, allocations: 276.7 kB / 441.6 MB, free: 32.58 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.0007619/0.2671, allocations: 368.4 kB / 442 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.2686, allocations: 1.173 MB / 443.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2687, allocations: 0 / 443.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004949/0.2692, allocations: 431.8 kB / 443.6 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.2697, allocations: 100 kB / 443.7 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.2713, allocations: 1.468 MB / 445.2 MB, free: 30.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.2716, allocations: 0.8926 MB / 446.1 MB, free: 29.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.2718, allocations: 56.25 kB / 446.1 MB, free: 29.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.2719, allocations: 39.3 kB / 446.1 MB, free: 29.64 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2719, allocations: 3.312 kB / 446.2 MB, free: 29.64 MB / 350.1 MB Notification: Performance of Templates: time 0.009845/0.2818, allocations: 6.825 MB / 453 MB, free: 29.07 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)