Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009993, allocations: 102.5 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.000973/0.0009733, allocations: 193.9 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.251/1.251, 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.04184/0.04184, allocations: 8.035 MB / 299.2 MB, free: 6.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001085, allocations: 67.89 kB / 362.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2311, allocations: 51.19 MB / 413.3 MB, free: 26.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004354/0.2355, allocations: 4.107 MB / 417.4 MB, free: 21.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.2374, allocations: 1.415 MB / 418.8 MB, free: 20.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.2377, allocations: 12 kB / 418.8 MB, free: 20.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.2381, allocations: 146.8 kB / 418.9 MB, free: 20.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.2386, allocations: 198.5 kB / 419.1 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.2392, allocations: 378.5 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005326/0.2397, allocations: 0.8413 MB / 420.3 MB, free: 18.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004471/0.2402, allocations: 448.3 kB / 420.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.2404, allocations: 322.9 kB / 421.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.2406, allocations: 350.5 kB / 421.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.2407, allocations: 100 kB / 421.5 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.2409, allocations: 120 kB / 421.7 MB, free: 17.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.241, allocations: 199.4 kB / 421.8 MB, free: 17.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.2413, allocations: 398.1 kB / 422.2 MB, free: 16.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.242, allocations: 1.024 MB / 423.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.242, allocations: 0 / 423.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.242, allocations: 0 / 423.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.242, allocations: 0 / 423.3 MB, free: 15.97 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001459/0.2435, allocations: 1.094 MB / 424.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.2435, allocations: 12.03 kB / 424.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.2436, allocations: 80 kB / 424.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.2442, allocations: 0.5012 MB / 424.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.2442, allocations: 49.31 kB / 425 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/0.2443, allocations: 64 kB / 425.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000926/0.2453, allocations: 0.6527 MB / 425.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.2453, allocations: 0 / 425.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.2453, allocations: 28 kB / 425.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2454, allocations: 16 kB / 425.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.2462, allocations: 472.9 kB / 426.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.2488, allocations: 2.489 MB / 428.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007583/0.2496, allocations: 428.6 kB / 429.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.2499, allocations: 173 kB / 429.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.25, allocations: 12.22 kB / 429.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004263/0.2504, allocations: 249.7 kB / 429.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.465e-06/0.2504, allocations: 7.984 kB / 429.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001278/0.2517, allocations: 0.6779 MB / 430.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.2518, allocations: 144.6 kB / 430.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.2522, allocations: 0.5605 MB / 430.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2522, allocations: 33.7 kB / 431 MB, free: 7.867 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.2524, allocations: 331.4 kB / 431.3 MB, free: 7.539 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.2525, allocations: 102.5 kB / 431.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.2526, allocations: 77.61 kB / 431.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.2526, allocations: 358.8 kB / 431.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.253, allocations: 169.1 kB / 432 MB, free: 6.828 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.2534, allocations: 254.5 kB / 432.2 MB, free: 6.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/0.2541, allocations: 0.5307 MB / 432.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2541, allocations: 0 / 432.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001003/0.2551, allocations: 0.5882 MB / 433.3 MB, free: 5.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.2552, allocations: 97.03 kB / 433.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2552, allocations: 4 kB / 433.4 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.2554, allocations: 29.22 kB / 433.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.2557, allocations: 75.89 kB / 433.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007436/0.2564, allocations: 1.386 MB / 434.9 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.2568, allocations: 83.42 kB / 435 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.2568, allocations: 20 kB / 435 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004304/0.2573, allocations: 316.5 kB / 435.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003211/0.2576, allocations: 246.9 kB / 435.6 MB, free: 2.867 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006125/0.2582, allocations: 0.511 MB / 436.1 MB, free: 2.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.2582, allocations: 0 / 436.1 MB, free: 2.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008794/0.2591, allocations: 0.5611 MB / 436.7 MB, free: 1.695 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.2592, allocations: 97.09 kB / 436.8 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2592, allocations: 0 / 436.8 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.26e-05/0.2593, allocations: 24.84 kB / 436.8 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.2595, allocations: 71.89 kB / 436.8 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000628/0.2602, allocations: 1.382 MB / 438.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.2606, allocations: 63.91 kB / 438.3 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.2606, allocations: 19.98 kB / 438.3 MB, free: 15.88 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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.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.0002117/0.2608, allocations: 280 kB / 438.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.2609, allocations: 55.34 kB / 438.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.262, allocations: 492 kB / 439.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.262, allocations: 4 kB / 439.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.262, allocations: 0 / 439.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.262, allocations: 7.922 kB / 439.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.2636, allocations: 1.128 MB / 440.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2636, allocations: 0 / 440.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.2639, allocations: 63.89 kB / 440.3 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-05/0.264, allocations: 16.86 kB / 440.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.2641, allocations: 19.92 kB / 440.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008607/0.2649, allocations: 1.375 MB / 441.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2649, allocations: 0 / 441.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.2663, allocations: 0.7662 MB / 442.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.2664, allocations: 128.5 kB / 442.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.2665, allocations: 16 kB / 442.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.2669, allocations: 39.95 kB / 442.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.267, allocations: 35.91 kB / 442.7 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.267, allocations: 15.92 kB / 442.7 MB, free: 11.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004152/0.2674, allocations: 406.8 kB / 443.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2674, allocations: 0 / 443.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007141/0.2682, allocations: 263 kB / 443.4 MB, free: 10.5 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,oneFlange.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.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.0007802/0.269, allocations: 363.4 kB / 443.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.2708, allocations: 1.159 MB / 444.9 MB, free: 9.016 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2708, allocations: 4.812 kB / 444.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.2714, allocations: 433.2 kB / 445.3 MB, free: 8.551 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.272, allocations: 86.52 kB / 445.4 MB, free: 8.465 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.274, allocations: 1.181 MB / 446.6 MB, free: 7.254 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.2745, allocations: 0.8932 MB / 447.5 MB, free: 6.332 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.2747, allocations: 59.36 kB / 447.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.2748, allocations: 35.44 kB / 447.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of SimCode: time 2.154e-06/0.2748, allocations: 8 kB / 447.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of Templates: time 0.01232/0.2871, allocations: 6.99 MB / 454.6 MB, free: 15.28 MB / 334.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)