Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.0012/0.0012, allocations: 105.6 kB / 16.23 MB, free: 6.328 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.001104/0.001104, allocations: 188.4 kB / 17.16 MB, free: 5.938 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.319/1.319, allocations: 222.9 MB / 240.8 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04276/0.04276, allocations: 8.604 MB / 299.6 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 55.91 kB / 361.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2146, allocations: 51.32 MB / 413.2 MB, free: 25.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004526/0.2192, allocations: 4.288 MB / 417.5 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.2211, allocations: 1.45 MB / 419 MB, free: 19.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.2214, allocations: 15.94 kB / 419 MB, free: 19.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.2218, allocations: 158.8 kB / 419.1 MB, free: 19.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.2222, allocations: 206.4 kB / 419.3 MB, free: 19.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.2228, allocations: 393.1 kB / 419.7 MB, free: 18.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.2234, allocations: 0.8962 MB / 420.6 MB, free: 17.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004651/0.2238, allocations: 485.7 kB / 421.1 MB, free: 17.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.2241, allocations: 346.8 kB / 421.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.2244, allocations: 382.4 kB / 421.8 MB, free: 16.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.278e-05/0.2245, allocations: 100 kB / 421.9 MB, free: 16.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.2246, allocations: 128 kB / 422 MB, free: 16.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.2248, allocations: 211.4 kB / 422.2 MB, free: 16.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.2251, allocations: 429.9 kB / 422.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.2258, allocations: 1.071 MB / 423.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2258, allocations: 7.875 kB / 423.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.2258, allocations: 0 / 423.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.2258, allocations: 0 / 423.7 MB, free: 14.85 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.001525/0.2273, allocations: 1.144 MB / 424.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.2274, allocations: 16.03 kB / 424.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.2275, allocations: 80 kB / 425 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.228, allocations: 0.505 MB / 425.5 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.228, allocations: 54 kB / 425.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/0.2281, allocations: 75.91 kB / 425.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2291, allocations: 0.6996 MB / 426.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.2292, allocations: 4 kB / 426.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.2292, allocations: 35.98 kB / 426.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.2292, allocations: 16 kB / 426.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000948/0.2302, allocations: 0.4899 MB / 426.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.233, allocations: 2.568 MB / 429.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008192/0.2338, allocations: 449.9 kB / 429.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.2342, allocations: 180.8 kB / 430 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.2342, allocations: 4 kB / 430 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000557/0.2348, allocations: 263.3 kB / 430.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.2348, allocations: 4 kB / 430.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001443/0.2363, allocations: 0.7043 MB / 431 MB, free: 7.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.2363, allocations: 140.5 kB / 431.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.2368, allocations: 0.5684 MB / 431.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.2368, allocations: 33.7 kB / 431.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.237, allocations: 359.8 kB / 432.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.2371, allocations: 114.4 kB / 432.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2372, allocations: 74.06 kB / 432.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.2373, allocations: 370.7 kB / 432.6 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.2376, allocations: 162.3 kB / 432.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.238, allocations: 263.3 kB / 433.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.2387, allocations: 0.5388 MB / 433.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2388, allocations: 0 / 433.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009624/0.2397, allocations: 0.6076 MB / 434.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.2398, allocations: 97.47 kB / 434.3 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2398, allocations: 4 kB / 434.3 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.2399, allocations: 24.84 kB / 434.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.2403, allocations: 83.88 kB / 434.4 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007776/0.2411, allocations: 1.387 MB / 435.8 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.2415, allocations: 83.61 kB / 435.9 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.2415, allocations: 23.92 kB / 435.9 MB, free: 1.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000474/0.242, allocations: 324.8 kB / 436.2 MB, free: 1.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003365/0.2424, allocations: 251.6 kB / 436.5 MB, free: 1.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006505/0.243, allocations: 0.5263 MB / 437 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.243, allocations: 0 / 437 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008833/0.2439, allocations: 0.5687 MB / 437.6 MB, free: 172 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.244, allocations: 97.09 kB / 437.7 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.244, allocations: 0 / 437.7 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.334e-05/0.2441, allocations: 29.22 kB / 437.7 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.2444, allocations: 79.83 kB / 437.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009011/0.2453, allocations: 1.39 MB / 439.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.2457, allocations: 59.75 kB / 439.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.2458, allocations: 19.98 kB / 439.2 MB, free: 14.33 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.0001925/0.246, allocations: 267.6 kB / 439.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/0.2461, allocations: 55.34 kB / 439.5 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.2472, allocations: 0.5142 MB / 440.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2472, allocations: 4 kB / 440.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2472, allocations: 0 / 440.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2472, allocations: 0 / 440.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.249, allocations: 1.183 MB / 441.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.249, allocations: 0 / 441.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.2494, allocations: 67.83 kB / 441.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.354e-05/0.2495, allocations: 16.84 kB / 441.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.2495, allocations: 20 kB / 441.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009257/0.2504, allocations: 1.39 MB / 442.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2505, allocations: 0 / 442.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.2519, allocations: 0.7956 MB / 443.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.2521, allocations: 132.4 kB / 443.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.2521, allocations: 12 kB / 443.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.2525, allocations: 39.95 kB / 443.7 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2526, allocations: 39.95 kB / 443.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.2527, allocations: 11.94 kB / 443.8 MB, free: 9.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004591/0.2531, allocations: 410.8 kB / 444.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2531, allocations: 0 / 444.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007873/0.2539, allocations: 294.8 kB / 444.5 MB, free: 8.801 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.0007875/0.2547, allocations: 366.6 kB / 444.8 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.2567, allocations: 1.186 MB / 446 MB, free: 7.285 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2567, allocations: 0.8125 kB / 446 MB, free: 7.285 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006937/0.2574, allocations: 441.3 kB / 446.4 MB, free: 6.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.258, allocations: 93.52 kB / 446.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.2602, allocations: 1.244 MB / 447.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.2607, allocations: 0.9056 MB / 448.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.261, allocations: 71.36 kB / 448.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.2611, allocations: 35.44 kB / 448.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2611, allocations: 0 / 448.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of Templates: time 0.01334/0.2744, allocations: 7.221 MB / 456 MB, free: 13.22 MB / 334.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)