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.0009909/0.000991, allocations: 108.7 kB / 15.99 MB, free: 6.359 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.001016/0.001016, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03932/0.03932, allocations: 8.029 MB / 298.8 MB, free: 7.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.89 kB / 360.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2152, allocations: 51.19 MB / 412 MB, free: 26.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004484/0.2197, allocations: 4.157 MB / 416.1 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.2217, allocations: 1.387 MB / 417.5 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.222, allocations: 19.94 kB / 417.5 MB, free: 20.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.2224, allocations: 119.3 kB / 417.7 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.2229, allocations: 155 kB / 417.8 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.2235, allocations: 354.5 kB / 418.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005706/0.2241, allocations: 0.8495 MB / 419 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005102/0.2246, allocations: 493.6 kB / 419.5 MB, free: 18.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.2248, allocations: 322.9 kB / 419.8 MB, free: 18.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.2251, allocations: 366.4 kB / 420.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.479e-05/0.2252, allocations: 96 kB / 420.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.2253, allocations: 124 kB / 420.4 MB, free: 17.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.2255, allocations: 207.4 kB / 420.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.2258, allocations: 410.1 kB / 421 MB, free: 17.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.2263, allocations: 0.8225 MB / 421.8 MB, free: 16.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2263, allocations: 3.938 kB / 421.8 MB, free: 16.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2264, allocations: 0 / 421.8 MB, free: 16.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.2264, allocations: 0 / 421.8 MB, free: 16.48 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.001512/0.2279, allocations: 1.112 MB / 422.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2279, allocations: 8.031 kB / 422.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.2281, allocations: 80 kB / 423 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.2286, allocations: 0.4976 MB / 423.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.2286, allocations: 53.25 kB / 423.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.2287, allocations: 67.91 kB / 423.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.2298, allocations: 0.6761 MB / 424.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.2298, allocations: 0 / 424.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.2299, allocations: 32 kB / 424.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.2299, allocations: 16 kB / 424.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/0.2308, allocations: 492.9 kB / 424.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.2339, allocations: 2.583 MB / 427.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.2347, allocations: 424.1 kB / 427.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.2351, allocations: 169 kB / 428 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.2351, allocations: 4.234 kB / 428 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005512/0.2357, allocations: 257.1 kB / 428.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.2357, allocations: 0 / 428.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001376/0.2371, allocations: 0.6861 MB / 428.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.2371, allocations: 140.5 kB / 429.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.2376, allocations: 0.5489 MB / 429.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.2377, allocations: 37.64 kB / 429.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.2378, allocations: 356 kB / 430 MB, free: 7.891 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.2379, allocations: 98.47 kB / 430.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.238, allocations: 77.69 kB / 430.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.2381, allocations: 362.7 kB / 430.5 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.2384, allocations: 165.2 kB / 430.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.2388, allocations: 258.5 kB / 430.9 MB, free: 6.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006974/0.2395, allocations: 0.5309 MB / 431.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2395, allocations: 0 / 431.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009334/0.2405, allocations: 0.592 MB / 432.1 MB, free: 5.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.2405, allocations: 91.12 kB / 432.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2405, allocations: 4 kB / 432.2 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.2407, allocations: 28.78 kB / 432.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.241, allocations: 84.22 kB / 432.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007041/0.2417, allocations: 1.382 MB / 433.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.2421, allocations: 83.39 kB / 433.7 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.2422, allocations: 16 kB / 433.7 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004558/0.2427, allocations: 320.5 kB / 434.1 MB, free: 3.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003249/0.243, allocations: 250.8 kB / 434.3 MB, free: 3.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006335/0.2436, allocations: 0.515 MB / 434.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.2436, allocations: 0 / 434.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000875/0.2445, allocations: 0.5534 MB / 435.4 MB, free: 2.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.2446, allocations: 93.09 kB / 435.5 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2446, allocations: 4 kB / 435.5 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.505e-05/0.2447, allocations: 32.77 kB / 435.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.2449, allocations: 75.89 kB / 435.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006161/0.2455, allocations: 1.386 MB / 437 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.2459, allocations: 59.7 kB / 437 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.246, allocations: 16 kB / 437 MB, free: 228 kB / 302.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.0002108/0.2462, allocations: 268 kB / 437.3 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.2463, allocations: 47.44 kB / 437.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.2474, allocations: 0.4909 MB / 437.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.2474, allocations: 4 kB / 437.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.2474, allocations: 0 / 437.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.2474, allocations: 7.922 kB / 437.8 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.2491, allocations: 1.132 MB / 439 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2491, allocations: 7.875 kB / 439 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.2494, allocations: 67.94 kB / 439 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.841e-05/0.2495, allocations: 16.86 kB / 439.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.2495, allocations: 11.98 kB / 439.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008981/0.2504, allocations: 1.375 MB / 440.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2504, allocations: 3.984 kB / 440.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.2519, allocations: 0.769 MB / 441.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.252, allocations: 136.5 kB / 441.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/0.2521, allocations: 12 kB / 441.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.2525, allocations: 47.88 kB / 441.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.2526, allocations: 27.97 kB / 441.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.2526, allocations: 12 kB / 441.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004493/0.2531, allocations: 406.8 kB / 441.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2531, allocations: 0 / 441.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007975/0.2539, allocations: 282.8 kB / 442.1 MB, free: 10.82 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.0008554/0.2548, allocations: 352.9 kB / 442.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.2568, allocations: 1.179 MB / 443.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2568, allocations: 0 / 443.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006334/0.2574, allocations: 430.8 kB / 444.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.2581, allocations: 93.91 kB / 444.2 MB, free: 8.773 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.2604, allocations: 1.489 MB / 445.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.2609, allocations: 0.8855 MB / 446.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.261, allocations: 39.44 kB / 446.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2611, allocations: 7.875 kB / 446.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of Templates: time 0.01323/0.2743, allocations: 10.36 MB / 456.9 MB, free: 11.93 MB / 334.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)