Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.0009213/0.0009214, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001203/0.001203, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1329/0.1329, allocations: 8.022 MB / 299.1 MB, free: 3.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002488, allocations: 12 kB / 361.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07659/0.07685, allocations: 52.19 MB / 414 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.003778/0.08065, allocations: 3.529 MB / 417.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.08246, allocations: 1.326 MB / 418.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.08267, allocations: 12 kB / 418.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.08292, allocations: 119.3 kB / 419 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.08324, allocations: 151 kB / 419.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.08374, allocations: 263.3 kB / 419.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005974/0.08435, allocations: 0.7242 MB / 420.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.08474, allocations: 312 kB / 420.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.08495, allocations: 227 kB / 420.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.08522, allocations: 258.7 kB / 420.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.08528, allocations: 35.94 kB / 420.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.08539, allocations: 63.92 kB / 421 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.08554, allocations: 135.5 kB / 421.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.08566, allocations: 153.3 kB / 421.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006162/0.08628, allocations: 0.7637 MB / 422 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.08629, allocations: 0 / 422 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.0863, allocations: 4 kB / 422 MB, free: 2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.08632, allocations: 0 / 422 MB, free: 2 MB / 350.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.001466/0.08779, allocations: 0.989 MB / 423 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.08783, allocations: 12.03 kB / 423 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.08796, allocations: 83.06 kB / 423.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.08854, allocations: 484.7 kB / 423.6 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.0886, allocations: 49.31 kB / 423.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.232e-05/0.0887, allocations: 67.91 kB / 423.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1438/0.2325, allocations: 0.6601 MB / 424.3 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.2326, allocations: 1.562 kB / 424.3 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.2327, allocations: 29.02 kB / 424.4 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2327, allocations: 16.41 kB / 424.4 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.2337, allocations: 0.4993 MB / 424.9 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/0.2366, allocations: 2.539 MB / 427.4 MB, free: 40.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007376/0.2374, allocations: 447 kB / 427.9 MB, free: 40.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.2377, allocations: 192.2 kB / 428 MB, free: 40.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.2378, allocations: 3.422 kB / 428.1 MB, free: 40.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004704/0.2382, allocations: 267 kB / 428.3 MB, free: 40.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.2383, allocations: 0 / 428.3 MB, free: 40.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001274/0.2395, allocations: 0.7398 MB / 429.1 MB, free: 40.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2396, allocations: 131.9 kB / 429.2 MB, free: 39.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.2401, allocations: 0.556 MB / 429.7 MB, free: 39.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.2401, allocations: 32.52 kB / 429.8 MB, free: 39.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.2403, allocations: 328.8 kB / 430.1 MB, free: 39.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.2404, allocations: 112.1 kB / 430.2 MB, free: 39.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.2404, allocations: 12.72 kB / 430.2 MB, free: 39.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.2405, allocations: 362.5 kB / 430.6 MB, free: 39.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.2408, allocations: 162.8 kB / 430.7 MB, free: 39.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.2412, allocations: 282.4 kB / 431 MB, free: 39.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.2416, allocations: 261.2 kB / 431.3 MB, free: 39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2416, allocations: 4 kB / 431.3 MB, free: 39 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009485/0.2425, allocations: 0.6148 MB / 431.9 MB, free: 38.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.29e-05/0.2426, allocations: 261.7 kB / 432.1 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2426, allocations: 3.375 kB / 432.1 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.2427, allocations: 35.56 kB / 432.2 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.243, allocations: 82.78 kB / 432.2 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005646/0.2436, allocations: 1.284 MB / 433.5 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.244, allocations: 89.67 kB / 433.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.244, allocations: 15.72 kB / 433.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-06/0.244, allocations: 3.25 kB / 433.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008769/0.2449, allocations: 0.5412 MB / 434.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.2449, allocations: 7.406 kB / 434.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-05/0.245, allocations: 25.33 kB / 434.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.2453, allocations: 82.19 kB / 434.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005273/0.2458, allocations: 1.282 MB / 435.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.2461, allocations: 74.02 kB / 435.6 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.2462, allocations: 20.56 kB / 435.7 MB, free: 35.78 MB / 350.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 ($whenCondition1,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,oneFlange.limTau.state,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002483/0.2464, allocations: 364.2 kB / 436 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.2465, allocations: 53.59 kB / 436.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008746/0.2474, allocations: 0.5192 MB / 436.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2474, allocations: 7.047 kB / 436.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2474, allocations: 3.938 kB / 436.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2474, allocations: 5.766 kB / 436.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.2487, allocations: 1.162 MB / 437.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2487, allocations: 0 / 437.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.249, allocations: 63.14 kB / 437.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-05/0.2491, allocations: 25.75 kB / 437.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.2491, allocations: 10.58 kB / 437.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004967/0.2496, allocations: 1.292 MB / 439.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2496, allocations: 0 / 439.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.2508, allocations: 0.8042 MB / 440 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.2509, allocations: 134.5 kB / 440.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.2509, allocations: 11.33 kB / 440.1 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.2513, allocations: 58.8 kB / 440.2 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.2514, allocations: 33.53 kB / 440.2 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.2514, allocations: 6.469 kB / 440.2 MB, free: 32.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003211/0.2517, allocations: 405.8 kB / 440.6 MB, free: 32.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2517, allocations: 4 kB / 440.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000604/0.2523, allocations: 266.7 kB / 440.9 MB, free: 32.4 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006638/0.253, allocations: 365.7 kB / 441.2 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.2544, allocations: 1.209 MB / 442.4 MB, free: 31.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2544, allocations: 0 / 442.4 MB, free: 31.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.2549, allocations: 444.3 kB / 442.9 MB, free: 31.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.2554, allocations: 87.28 kB / 442.9 MB, free: 31.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2568, allocations: 1.429 MB / 444.4 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.2571, allocations: 0.8923 MB / 445.3 MB, free: 29.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.2573, allocations: 66.59 kB / 445.3 MB, free: 29.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.2573, allocations: 32.16 kB / 445.4 MB, free: 29.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2574, allocations: 0 / 445.4 MB, free: 29.52 MB / 350.1 MB Notification: Performance of Templates: time 0.008437/0.2658, allocations: 6.255 MB / 451.6 MB, free: 28.98 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)