Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001228/0.001228, allocations: 102.5 kB / 16.23 MB, free: 5.918 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.001394/0.001394, allocations: 188.7 kB / 17.16 MB, free: 5.555 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.289/1.289, allocations: 222.9 MB / 240.8 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03898/0.03898, allocations: 8.034 MB / 299 MB, free: 6.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 59.91 kB / 361.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2147, allocations: 51.19 MB / 412.4 MB, free: 26.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004438/0.2192, allocations: 4.138 MB / 416.5 MB, free: 22.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.2211, allocations: 1.422 MB / 418 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.2214, allocations: 16 kB / 418 MB, free: 20.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.2218, allocations: 150.8 kB / 418.1 MB, free: 20.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.2222, allocations: 202.4 kB / 418.3 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.2228, allocations: 374.2 kB / 418.7 MB, free: 19.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.2233, allocations: 0.8534 MB / 419.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00049/0.2238, allocations: 489.5 kB / 420 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.2241, allocations: 326.8 kB / 420.3 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.2243, allocations: 362.4 kB / 420.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.2244, allocations: 96 kB / 420.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.2246, allocations: 131.9 kB / 420.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.2247, allocations: 199.4 kB / 421.1 MB, free: 17.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.225, allocations: 414 kB / 421.5 MB, free: 17.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006211/0.2256, allocations: 1.016 MB / 422.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2256, allocations: 0 / 422.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2256, allocations: 0 / 422.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.2257, allocations: 4 kB / 422.5 MB, free: 16.05 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.001496/0.2272, allocations: 1.108 MB / 423.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2272, allocations: 12.03 kB / 423.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.2273, allocations: 80 kB / 423.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.2278, allocations: 0.4937 MB / 424.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.2279, allocations: 57.23 kB / 424.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.493e-05/0.2279, allocations: 71.91 kB / 424.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.229, allocations: 0.6683 MB / 425 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.229, allocations: 3.984 kB / 425 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.2291, allocations: 35.92 kB / 425.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2291, allocations: 16 kB / 425.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009447/0.23, allocations: 492.9 kB / 425.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.2329, allocations: 2.579 MB / 428.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/0.2337, allocations: 432.8 kB / 428.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.2341, allocations: 177 kB / 428.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.2341, allocations: 8.234 kB / 428.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005311/0.2346, allocations: 249.7 kB / 429 MB, free: 9.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.625e-06/0.2346, allocations: 0 / 429 MB, free: 9.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001343/0.236, allocations: 0.6855 MB / 429.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.236, allocations: 140.5 kB / 429.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.2365, allocations: 0.5527 MB / 430.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.2366, allocations: 33.7 kB / 430.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.2367, allocations: 344 kB / 430.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.2368, allocations: 106.5 kB / 430.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2369, allocations: 73.69 kB / 430.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.237, allocations: 358.8 kB / 431.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.2374, allocations: 169.1 kB / 431.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.2377, allocations: 258.5 kB / 431.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/0.2384, allocations: 0.5349 MB / 432.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2384, allocations: 7.938 kB / 432.2 MB, free: 5.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009278/0.2394, allocations: 0.592 MB / 432.8 MB, free: 5.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.2394, allocations: 99.28 kB / 432.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2394, allocations: 0 / 432.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.2396, allocations: 25.14 kB / 432.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.2399, allocations: 83.88 kB / 433 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006748/0.2406, allocations: 1.382 MB / 434.4 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.241, allocations: 83.39 kB / 434.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.241, allocations: 16 kB / 434.5 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004323/0.2414, allocations: 320.5 kB / 434.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003242/0.2418, allocations: 242.9 kB / 435 MB, free: 2.781 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006326/0.2424, allocations: 0.511 MB / 435.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.265e-06/0.2424, allocations: 4 kB / 435.6 MB, free: 2.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008422/0.2433, allocations: 0.5612 MB / 436.1 MB, free: 1.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.2433, allocations: 89.09 kB / 436.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.2433, allocations: 4 kB / 436.2 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.951e-05/0.2434, allocations: 24.8 kB / 436.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.2437, allocations: 75.89 kB / 436.3 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005923/0.2443, allocations: 1.387 MB / 437.7 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.2447, allocations: 59.7 kB / 437.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.2447, allocations: 16 kB / 437.8 MB, free: 15.79 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.0001855/0.2449, allocations: 279.4 kB / 438 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.245, allocations: 51.5 kB / 438.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.246, allocations: 499.9 kB / 438.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2461, allocations: 4 kB / 438.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2461, allocations: 0 / 438.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.2461, allocations: 3.938 kB / 438.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.2477, allocations: 1.139 MB / 439.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2477, allocations: 3.938 kB / 439.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.248, allocations: 63.89 kB / 439.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.703e-05/0.2481, allocations: 20.84 kB / 439.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.2482, allocations: 8 kB / 439.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008733/0.249, allocations: 1.367 MB / 441.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2491, allocations: 0 / 441.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.2505, allocations: 0.7729 MB / 442 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.2506, allocations: 128.5 kB / 442.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.2507, allocations: 12 kB / 442.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.251, allocations: 51.89 kB / 442.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2511, allocations: 27.97 kB / 442.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.2512, allocations: 15.98 kB / 442.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004262/0.2516, allocations: 402.8 kB / 442.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2516, allocations: 0 / 442.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007547/0.2524, allocations: 282.8 kB / 442.9 MB, free: 10.39 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.0008028/0.2532, allocations: 370.4 kB / 443.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.2551, allocations: 1.179 MB / 444.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2551, allocations: 0 / 444.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005797/0.2557, allocations: 425.2 kB / 444.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.2562, allocations: 78.78 kB / 444.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.2581, allocations: 1.243 MB / 446.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.2586, allocations: 0.8855 MB / 447 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.2587, allocations: 43.42 kB / 447.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2587, allocations: 0 / 447.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of Templates: time 0.01232/0.271, allocations: 10.38 MB / 457.4 MB, free: 11.75 MB / 334.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)