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.001083/0.001083, allocations: 97.95 kB / 16.23 MB, free: 5.902 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.00113/0.00113, allocations: 187.8 kB / 17.16 MB, free: 5.535 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.343/1.343, allocations: 222.9 MB / 240.8 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04116/0.04116, allocations: 8.598 MB / 299.6 MB, free: 6.336 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 361.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2281, allocations: 51.33 MB / 413.2 MB, free: 25.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004537/0.2327, allocations: 4.281 MB / 417.5 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.2348, allocations: 1.465 MB / 419 MB, free: 19.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003263/0.2352, allocations: 12 kB / 419 MB, free: 19.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.2356, allocations: 158.8 kB / 419.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.2361, allocations: 206.4 kB / 419.4 MB, free: 19.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.2367, allocations: 390.4 kB / 419.7 MB, free: 18.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005382/0.2373, allocations: 0.8923 MB / 420.6 MB, free: 18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.2378, allocations: 485.7 kB / 421.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.238, allocations: 350.7 kB / 421.4 MB, free: 17.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.2383, allocations: 374.4 kB / 421.8 MB, free: 16.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.378e-05/0.2384, allocations: 100 kB / 421.9 MB, free: 16.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.2385, allocations: 139.9 kB / 422 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.2387, allocations: 207.4 kB / 422.2 MB, free: 16.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.239, allocations: 429.9 kB / 422.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000712/0.2397, allocations: 1.071 MB / 423.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2397, allocations: 0 / 423.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2397, allocations: 0 / 423.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.2397, allocations: 0 / 423.7 MB, free: 14.87 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.001523/0.2412, allocations: 1.151 MB / 424.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.2413, allocations: 12.03 kB / 424.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.2414, allocations: 80 kB / 425 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.2419, allocations: 0.505 MB / 425.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.2419, allocations: 54 kB / 425.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.242, allocations: 75.91 kB / 425.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.243, allocations: 0.7113 MB / 426.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.2431, allocations: 0 / 426.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.2431, allocations: 28 kB / 426.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2431, allocations: 16 kB / 426.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009529/0.2441, allocations: 0.5016 MB / 426.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.2469, allocations: 2.556 MB / 429.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008393/0.2478, allocations: 445.3 kB / 429.9 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.2481, allocations: 176.8 kB / 430 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.2482, allocations: 4 kB / 430 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005271/0.2487, allocations: 267.3 kB / 430.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/0.2487, allocations: 0 / 430.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001405/0.2501, allocations: 0.7082 MB / 431 MB, free: 7.266 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.2502, allocations: 140.5 kB / 431.1 MB, free: 7.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.2507, allocations: 0.5683 MB / 431.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.2507, allocations: 37.64 kB / 431.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.2509, allocations: 359.8 kB / 432.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.2509, allocations: 106.5 kB / 432.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.2511, allocations: 82.06 kB / 432.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.2511, allocations: 362.7 kB / 432.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.2515, allocations: 162.3 kB / 432.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.2519, allocations: 263.3 kB / 433.1 MB, free: 5.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.2526, allocations: 0.5388 MB / 433.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2526, allocations: 4.094 kB / 433.6 MB, free: 4.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009383/0.2535, allocations: 0.6078 MB / 434.2 MB, free: 3.848 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.2536, allocations: 97.14 kB / 434.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2536, allocations: 0 / 434.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.2538, allocations: 28.84 kB / 434.3 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.2541, allocations: 79.88 kB / 434.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007173/0.2548, allocations: 1.398 MB / 435.8 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.2552, allocations: 87.55 kB / 435.9 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.2553, allocations: 16 kB / 435.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004435/0.2557, allocations: 320.8 kB / 436.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003271/0.256, allocations: 251.6 kB / 436.5 MB, free: 1.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006238/0.2567, allocations: 0.5302 MB / 437 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.2567, allocations: 0 / 437 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000854/0.2575, allocations: 0.5648 MB / 437.6 MB, free: 192 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.2576, allocations: 97.09 kB / 437.7 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.2576, allocations: 0 / 437.7 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.329e-05/0.2577, allocations: 33.22 kB / 437.7 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.258, allocations: 79.83 kB / 437.8 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.259, allocations: 1.39 MB / 439.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.2594, allocations: 59.7 kB / 439.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.2595, allocations: 24.09 kB / 439.2 MB, free: 14.34 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.0002149/0.2597, allocations: 263.5 kB / 439.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.2598, allocations: 55.34 kB / 439.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.2608, allocations: 0.5103 MB / 440.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.2608, allocations: 4 kB / 440.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2609, allocations: 0 / 440.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2609, allocations: 3.984 kB / 440.1 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.2626, allocations: 1.179 MB / 441.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2626, allocations: 3.984 kB / 441.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.2629, allocations: 63.89 kB / 441.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.057e-05/0.263, allocations: 20.86 kB / 441.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.2631, allocations: 11.98 kB / 441.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009094/0.264, allocations: 1.398 MB / 442.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.264, allocations: 0 / 442.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.2654, allocations: 0.7878 MB / 443.5 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.2655, allocations: 136.4 kB / 443.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.2656, allocations: 12 kB / 443.7 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.266, allocations: 43.95 kB / 443.7 MB, free: 9.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/0.2661, allocations: 31.95 kB / 443.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.2661, allocations: 8 kB / 443.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004571/0.2665, allocations: 426.8 kB / 444.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2666, allocations: 0 / 444.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007251/0.2673, allocations: 282.8 kB / 444.4 MB, free: 8.824 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.0007558/0.268, allocations: 369 kB / 444.8 MB, free: 8.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.2699, allocations: 1.19 MB / 446 MB, free: 7.305 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2699, allocations: 0 / 446 MB, free: 7.305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.2705, allocations: 433.4 kB / 446.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.271, allocations: 101.8 kB / 446.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.273, allocations: 1.245 MB / 447.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.2734, allocations: 0.9017 MB / 448.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.2736, allocations: 71.36 kB / 448.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.815e-05/0.2737, allocations: 31.44 kB / 448.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2738, allocations: 0 / 448.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of Templates: time 0.0117/0.2855, allocations: 7.225 MB / 456 MB, free: 13.24 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 gbode -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)