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.001386/0.001386, allocations: 110.1 kB / 16.37 MB, free: 5.984 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.001174/0.001173, allocations: 194.5 kB / 17.31 MB, free: 5.602 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03773/0.03773, allocations: 8.032 MB / 299.2 MB, free: 6.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 362.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2114, allocations: 51.2 MB / 413.3 MB, free: 26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004229/0.2156, allocations: 4.129 MB / 417.4 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.2174, allocations: 1.418 MB / 418.8 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.2177, allocations: 15.94 kB / 418.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.218, allocations: 154.8 kB / 419 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.2185, allocations: 202.5 kB / 419.2 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.219, allocations: 374.5 kB / 419.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.2195, allocations: 0.8534 MB / 420.4 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005101/0.22, allocations: 0.5052 MB / 420.9 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.2203, allocations: 311 kB / 421.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.2206, allocations: 370.4 kB / 421.6 MB, free: 17.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.2207, allocations: 96 kB / 421.7 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.2208, allocations: 120 kB / 421.8 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.221, allocations: 211.4 kB / 422 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.2212, allocations: 398.1 kB / 422.4 MB, free: 16.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006229/0.2219, allocations: 1.043 MB / 423.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2219, allocations: 4 kB / 423.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2219, allocations: 4 kB / 423.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.2219, allocations: 0 / 423.4 MB, free: 15.81 MB / 302.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.001455/0.2233, allocations: 1.108 MB / 424.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2234, allocations: 8.031 kB / 424.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.2235, allocations: 80 kB / 424.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/0.2242, allocations: 0.5093 MB / 425.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.2242, allocations: 53.25 kB / 425.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.2243, allocations: 67.91 kB / 425.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.2253, allocations: 0.6722 MB / 425.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.2253, allocations: 3.938 kB / 425.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.718e-05/0.2254, allocations: 28 kB / 426 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.2254, allocations: 16 kB / 426 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009519/0.2264, allocations: 489 kB / 426.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.2293, allocations: 2.547 MB / 429 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000833/0.2301, allocations: 428.8 kB / 429.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.2305, allocations: 177 kB / 429.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.2305, allocations: 12.17 kB / 429.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004611/0.231, allocations: 257.7 kB / 429.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.231, allocations: 0 / 429.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001318/0.2323, allocations: 0.6816 MB / 430.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2324, allocations: 140.5 kB / 430.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.2328, allocations: 0.5528 MB / 431.2 MB, free: 7.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.2329, allocations: 33.7 kB / 431.3 MB, free: 7.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.233, allocations: 340 kB / 431.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.2331, allocations: 114.4 kB / 431.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2332, allocations: 69.8 kB / 431.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.2333, allocations: 366.7 kB / 432.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.2337, allocations: 165.1 kB / 432.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.234, allocations: 266.5 kB / 432.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.2347, allocations: 0.5309 MB / 433.1 MB, free: 5.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2347, allocations: 0 / 433.1 MB, free: 5.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009282/0.2357, allocations: 0.5881 MB / 433.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.2357, allocations: 93.09 kB / 433.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2357, allocations: 4 kB / 433.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.2359, allocations: 24.84 kB / 433.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.2362, allocations: 88.17 kB / 433.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000734/0.237, allocations: 1.386 MB / 435.3 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.2374, allocations: 75.39 kB / 435.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.2374, allocations: 20 kB / 435.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004328/0.2379, allocations: 312.5 kB / 435.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003254/0.2382, allocations: 246.9 kB / 435.9 MB, free: 2.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006007/0.2388, allocations: 0.5149 MB / 436.4 MB, free: 1.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.2388, allocations: 0 / 436.4 MB, free: 1.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008421/0.2397, allocations: 0.5532 MB / 437 MB, free: 1.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.2397, allocations: 97.47 kB / 437.1 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2397, allocations: 8 kB / 437.1 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.425e-05/0.2398, allocations: 28.78 kB / 437.1 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.2401, allocations: 71.89 kB / 437.2 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006952/0.2408, allocations: 1.382 MB / 438.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.2412, allocations: 63.8 kB / 438.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.2412, allocations: 20 kB / 438.6 MB, free: 15.57 MB / 318.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.0002154/0.2414, allocations: 271.9 kB / 438.9 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.076e-05/0.2415, allocations: 55.38 kB / 439 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.2426, allocations: 500 kB / 439.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2426, allocations: 0 / 439.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2426, allocations: 4 kB / 439.4 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2426, allocations: 7.922 kB / 439.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.2444, allocations: 1.135 MB / 440.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2444, allocations: 3.938 kB / 440.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.2447, allocations: 59.89 kB / 440.6 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.645e-05/0.2448, allocations: 24.84 kB / 440.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.2448, allocations: 8 kB / 440.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009889/0.2458, allocations: 1.375 MB / 442.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2458, allocations: 4.062 kB / 442.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.2473, allocations: 0.7661 MB / 442.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.2475, allocations: 132.5 kB / 443 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.2475, allocations: 8 kB / 443 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.2479, allocations: 43.89 kB / 443 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.248, allocations: 39.89 kB / 443 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.2481, allocations: 4 kB / 443 MB, free: 10.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005052/0.2486, allocations: 410.8 kB / 443.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2486, allocations: 4 kB / 443.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008207/0.2494, allocations: 270.8 kB / 443.7 MB, free: 10.18 MB / 318.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.0008998/0.2503, allocations: 375.6 kB / 444.1 MB, free: 9.941 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.2523, allocations: 1.163 MB / 445.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2523, allocations: 0 / 445.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.2529, allocations: 434.1 kB / 445.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.2535, allocations: 78.58 kB / 445.7 MB, free: 8.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.2558, allocations: 1.205 MB / 447 MB, free: 6.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.2563, allocations: 0.8971 MB / 447.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.2565, allocations: 59.36 kB / 447.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.2566, allocations: 35.42 kB / 447.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2566, allocations: 0 / 447.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of Templates: time 0.01288/0.2695, allocations: 7.011 MB / 455 MB, free: 14.91 MB / 334.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 -s gbode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)