Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.001375/0.001376, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.001349/0.001349, allocations: 192.1 kB / 17.29 MB, free: 5.48 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.271/1.271, 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.03632/0.03632, allocations: 8.038 MB / 299.2 MB, free: 6.805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 362.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1922, allocations: 51.2 MB / 413.3 MB, free: 26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004223/0.1964, allocations: 4.281 MB / 417.5 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1982, allocations: 1.453 MB / 419 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.1984, allocations: 12 kB / 419 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.1987, allocations: 158.8 kB / 419.2 MB, free: 20.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.1991, allocations: 210.4 kB / 419.4 MB, free: 19.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.1996, allocations: 394.4 kB / 419.8 MB, free: 19.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005119/0.2002, allocations: 0.8962 MB / 420.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004255/0.2006, allocations: 485.6 kB / 421.1 MB, free: 18.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.2008, allocations: 346.8 kB / 421.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.2011, allocations: 382.3 kB / 421.8 MB, free: 17.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.084e-05/0.2012, allocations: 100 kB / 421.9 MB, free: 17.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2013, allocations: 132 kB / 422.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.2015, allocations: 215.4 kB / 422.3 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.2017, allocations: 426 kB / 422.7 MB, free: 16.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005941/0.2023, allocations: 1.086 MB / 423.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2023, allocations: 0 / 423.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2023, allocations: 0 / 423.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.2023, allocations: 0 / 423.8 MB, free: 15.45 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.001414/0.2038, allocations: 1.148 MB / 424.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.2038, allocations: 8.031 kB / 424.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.2039, allocations: 87.94 kB / 425 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.2044, allocations: 0.5167 MB / 425.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.2045, allocations: 50 kB / 425.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.2046, allocations: 75.91 kB / 425.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/0.2056, allocations: 0.7074 MB / 426.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.2056, allocations: 0 / 426.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.2057, allocations: 28 kB / 426.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.2057, allocations: 16 kB / 426.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.2066, allocations: 0.5094 MB / 426.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.2093, allocations: 2.525 MB / 429.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007878/0.2101, allocations: 463.4 kB / 429.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.2104, allocations: 172.8 kB / 430.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-05/0.2104, allocations: 11.98 kB / 430.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004287/0.2109, allocations: 259.4 kB / 430.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.2109, allocations: 0 / 430.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001306/0.2122, allocations: 0.7081 MB / 431 MB, free: 7.848 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2123, allocations: 136.5 kB / 431.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.2127, allocations: 0.5683 MB / 431.7 MB, free: 7.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.2127, allocations: 37.7 kB / 431.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.2129, allocations: 355.9 kB / 432.1 MB, free: 6.707 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.213, allocations: 110.4 kB / 432.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.2131, allocations: 78.08 kB / 432.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.296e-05/0.2131, allocations: 366.7 kB / 432.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.2135, allocations: 166.3 kB / 432.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.2138, allocations: 263.2 kB / 433.1 MB, free: 5.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.2145, allocations: 0.5427 MB / 433.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2145, allocations: 0 / 433.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008952/0.2154, allocations: 0.6041 MB / 434.2 MB, free: 4.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.2155, allocations: 93.09 kB / 434.3 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2155, allocations: 4 kB / 434.3 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.2156, allocations: 20.86 kB / 434.3 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.2159, allocations: 87.81 kB / 434.4 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006651/0.2166, allocations: 1.391 MB / 435.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.217, allocations: 87.48 kB / 435.9 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.217, allocations: 20 kB / 435.9 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004305/0.2175, allocations: 320.8 kB / 436.2 MB, free: 2.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000311/0.2178, allocations: 247.3 kB / 436.5 MB, free: 1.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006326/0.2184, allocations: 0.5302 MB / 437 MB, free: 1.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.2184, allocations: 0 / 437 MB, free: 1.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008157/0.2193, allocations: 0.5802 MB / 437.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.2193, allocations: 91.59 kB / 437.7 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2193, allocations: 4 kB / 437.7 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.839e-05/0.2194, allocations: 24.84 kB / 437.7 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.2197, allocations: 84.23 kB / 437.8 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007499/0.2204, allocations: 1.398 MB / 439.2 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.2208, allocations: 59.7 kB / 439.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.2208, allocations: 16 kB / 439.3 MB, free: 14.93 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.0001846/0.221, allocations: 277.7 kB / 439.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.2211, allocations: 55.34 kB / 439.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.2221, allocations: 0.5025 MB / 440.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2221, allocations: 4 kB / 440.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.2221, allocations: 4 kB / 440.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.2222, allocations: 3.984 kB / 440.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.2239, allocations: 1.183 MB / 441.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2239, allocations: 0 / 441.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.2242, allocations: 59.95 kB / 441.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.4e-05/0.2243, allocations: 16.86 kB / 441.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.2243, allocations: 11.98 kB / 441.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007997/0.2251, allocations: 1.387 MB / 442.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2251, allocations: 0 / 442.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.2266, allocations: 0.7928 MB / 443.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.2267, allocations: 136.4 kB / 443.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.2268, allocations: 12 kB / 443.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.2271, allocations: 39.95 kB / 443.7 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.2272, allocations: 35.95 kB / 443.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.2273, allocations: 16 kB / 443.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000424/0.2277, allocations: 414.8 kB / 444.2 MB, free: 9.695 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2277, allocations: 3.938 kB / 444.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00076/0.2285, allocations: 282.8 kB / 444.5 MB, free: 9.414 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.0008245/0.2293, allocations: 385.8 kB / 444.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.2314, allocations: 1.186 MB / 446 MB, free: 7.883 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2314, allocations: 0 / 446 MB, free: 7.883 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006334/0.2321, allocations: 437.3 kB / 446.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.2327, allocations: 85.58 kB / 446.5 MB, free: 7.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.2347, allocations: 1.233 MB / 447.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.2353, allocations: 0.9056 MB / 448.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.2356, allocations: 59.42 kB / 448.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.2358, allocations: 39.44 kB / 448.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2358, allocations: 0 / 448.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of Templates: time 0.01258/0.2483, allocations: 7.216 MB / 456 MB, free: 13.86 MB / 334.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)