Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.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.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 112.2 kB / 16.37 MB, free: 5.953 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.001251/0.001251, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03821/0.03821, allocations: 8.035 MB / 299.2 MB, free: 6.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.89 kB / 362.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.188, allocations: 51.2 MB / 413.3 MB, free: 26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004295/0.1923, allocations: 4.275 MB / 417.6 MB, free: 21.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.1941, allocations: 1.457 MB / 419 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.1944, allocations: 15.94 kB / 419 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.1947, allocations: 162.8 kB / 419.2 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.1952, allocations: 198.5 kB / 419.4 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.1958, allocations: 401 kB / 419.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007428/0.1965, allocations: 0.9 MB / 420.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004887/0.197, allocations: 493.6 kB / 421.2 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.1973, allocations: 334.9 kB / 421.5 MB, free: 17.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.1976, allocations: 378.4 kB / 421.8 MB, free: 17.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.968e-05/0.1977, allocations: 104 kB / 422 MB, free: 17.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.1979, allocations: 128 kB / 422.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.198, allocations: 219.3 kB / 422.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.1983, allocations: 426 kB / 422.7 MB, free: 16.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007267/0.199, allocations: 1.079 MB / 423.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.199, allocations: 7.984 kB / 423.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.199, allocations: 0 / 423.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1991, allocations: 0 / 423.8 MB, free: 15.46 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001582/0.2006, allocations: 1.151 MB / 424.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2007, allocations: 8.031 kB / 425 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.2008, allocations: 84 kB / 425 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/0.2014, allocations: 0.5128 MB / 425.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.2014, allocations: 50 kB / 425.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.779e-05/0.2015, allocations: 79.91 kB / 425.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.2025, allocations: 0.7074 MB / 426.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.2026, allocations: 4 kB / 426.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/0.2026, allocations: 28 kB / 426.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.2026, allocations: 16 kB / 426.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/0.2036, allocations: 0.5016 MB / 426.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.2064, allocations: 2.529 MB / 429.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.2072, allocations: 455.4 kB / 429.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.2075, allocations: 172.8 kB / 430.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.2076, allocations: 4 kB / 430.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004596/0.2081, allocations: 267.3 kB / 430.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.2081, allocations: 0 / 430.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001362/0.2094, allocations: 0.7082 MB / 431 MB, free: 7.871 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.2095, allocations: 136.5 kB / 431.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000497/0.21, allocations: 0.5683 MB / 431.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.21, allocations: 33.7 kB / 431.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.2102, allocations: 363.9 kB / 432.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.2103, allocations: 114.4 kB / 432.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2104, allocations: 74.08 kB / 432.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.2104, allocations: 362.7 kB / 432.7 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.2108, allocations: 162.3 kB / 432.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.2112, allocations: 271.2 kB / 433.1 MB, free: 5.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.2119, allocations: 0.5427 MB / 433.6 MB, free: 5.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2119, allocations: 0 / 433.6 MB, free: 5.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009493/0.2129, allocations: 0.6076 MB / 434.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.2129, allocations: 93.09 kB / 434.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2129, allocations: 4 kB / 434.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.2131, allocations: 20.86 kB / 434.4 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.2134, allocations: 79.88 kB / 434.4 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007198/0.2141, allocations: 1.399 MB / 435.8 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.2145, allocations: 83.39 kB / 435.9 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.2146, allocations: 16 kB / 435.9 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004608/0.215, allocations: 320.8 kB / 436.2 MB, free: 2.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003319/0.2154, allocations: 251.3 kB / 436.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000629/0.216, allocations: 0.5263 MB / 437 MB, free: 1.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.216, allocations: 4 kB / 437 MB, free: 1.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008757/0.2169, allocations: 0.5724 MB / 437.6 MB, free: 0.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.217, allocations: 93.09 kB / 437.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.217, allocations: 4.375 kB / 437.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.436e-05/0.2171, allocations: 28.84 kB / 437.7 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.2173, allocations: 83.83 kB / 437.8 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008247/0.2182, allocations: 1.391 MB / 439.2 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.2186, allocations: 63.7 kB / 439.3 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.2186, allocations: 20 kB / 439.3 MB, free: 14.95 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,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0001966/0.2188, allocations: 271.6 kB / 439.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/0.2189, allocations: 55.34 kB / 439.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.22, allocations: 0.5103 MB / 440.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.22, allocations: 0 / 440.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.22, allocations: 4.094 kB / 440.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.22, allocations: 7.922 kB / 440.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.2218, allocations: 1.183 MB / 441.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2218, allocations: 0 / 441.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.2221, allocations: 63.89 kB / 441.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-05/0.2222, allocations: 16.86 kB / 441.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.2223, allocations: 11.98 kB / 441.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009048/0.2232, allocations: 1.383 MB / 442.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2232, allocations: 4.094 kB / 442.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.2247, allocations: 0.7967 MB / 443.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.2248, allocations: 132.4 kB / 443.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.683e-05/0.2249, allocations: 12 kB / 443.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.2253, allocations: 43.95 kB / 443.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.2254, allocations: 31.95 kB / 443.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.2254, allocations: 11.94 kB / 443.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004839/0.2259, allocations: 418.8 kB / 444.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2259, allocations: 0 / 444.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000834/0.2268, allocations: 286.8 kB / 444.5 MB, free: 9.426 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * 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.0008729/0.2276, allocations: 371 kB / 444.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.2295, allocations: 1.186 MB / 446 MB, free: 7.902 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.2295, allocations: 0 / 446 MB, free: 7.902 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000605/0.2301, allocations: 434.2 kB / 446.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.2306, allocations: 89.78 kB / 446.5 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.2326, allocations: 1.233 MB / 447.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.2331, allocations: 0.9056 MB / 448.7 MB, free: 5.156 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.2333, allocations: 63.41 kB / 448.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/0.2334, allocations: 35.44 kB / 448.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2334, allocations: 0 / 448.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of Templates: time 0.01254/0.2459, allocations: 7.221 MB / 456 MB, free: 13.87 MB / 334.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)