Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007202/0.007202, allocations: 101 kB / 15.73 MB, free: 6.039 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.001404/0.001404, allocations: 200.7 kB / 16.68 MB, free: 5.973 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1859/0.1859, allocations: 8.025 MB / 298.6 MB, free: 2.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 413.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2945, allocations: 51.19 MB / 464.3 MB, free: 18.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005501/0.3001, allocations: 4.139 MB / 468.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.3028, allocations: 1.429 MB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.3032, allocations: 15.09 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.3037, allocations: 153 kB / 470 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005607/0.3043, allocations: 202.7 kB / 470.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/0.3051, allocations: 384.9 kB / 470.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008291/0.306, allocations: 0.8476 MB / 471.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007017/0.3067, allocations: 0.4893 MB / 471.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.3071, allocations: 326.1 kB / 472.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.3075, allocations: 364.3 kB / 472.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.3076, allocations: 96.06 kB / 472.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.3079, allocations: 121 kB / 472.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.3081, allocations: 209 kB / 473 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.3084, allocations: 408.5 kB / 473.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.3097, allocations: 1.034 MB / 474.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3097, allocations: 0 / 474.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.3097, allocations: 10.42 kB / 474.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.3098, allocations: 0 / 474.4 MB, free: 11.91 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001886/0.3117, allocations: 1.117 MB / 475.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3117, allocations: 10.03 kB / 475.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.3119, allocations: 81 kB / 475.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007491/0.3126, allocations: 0.4992 MB / 476.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.3127, allocations: 53.56 kB / 476.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.3128, allocations: 68.5 kB / 476.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.3141, allocations: 0.6781 MB / 476.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.3142, allocations: 2.031 kB / 476.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-05/0.3142, allocations: 26.88 kB / 477 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.3143, allocations: 15.78 kB / 477 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.3154, allocations: 494 kB / 477.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003525/0.319, allocations: 2.543 MB / 480 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.32, allocations: 429.5 kB / 480.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/0.3204, allocations: 173.9 kB / 480.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.3205, allocations: 6.781 kB / 480.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005663/0.321, allocations: 259.7 kB / 480.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/0.3211, allocations: 3.938 kB / 480.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001717/0.3228, allocations: 0.6834 MB / 481.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.3229, allocations: 135 kB / 481.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006796/0.3235, allocations: 0.5581 MB / 482.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.3236, allocations: 33.2 kB / 482.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.3238, allocations: 341 kB / 482.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/0.3239, allocations: 112.2 kB / 482.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.324, allocations: 82.19 kB / 482.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3242, allocations: 359.3 kB / 483.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/0.3246, allocations: 171.2 kB / 483.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.3251, allocations: 258.5 kB / 483.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008339/0.3259, allocations: 0.5284 MB / 484.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3259, allocations: 0.9375 kB / 484.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001122/0.327, allocations: 0.5915 MB / 484.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.3271, allocations: 92.19 kB / 484.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3271, allocations: 3.25 kB / 484.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.3273, allocations: 26.08 kB / 484.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.3276, allocations: 86.62 kB / 484.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007396/0.3284, allocations: 1.378 MB / 486.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.3289, allocations: 77.08 kB / 486.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.3289, allocations: 17.72 kB / 486.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005689/0.3295, allocations: 319.7 kB / 486.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004464/0.3299, allocations: 243.2 kB / 486.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008677/0.3308, allocations: 0.5163 MB / 487.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.348e-06/0.3308, allocations: 1.25 kB / 487.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00114/0.332, allocations: 0.5622 MB / 488 MB, free: 2.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.332, allocations: 94.08 kB / 488.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3321, allocations: 8.266 kB / 488.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.974e-05/0.3321, allocations: 24.89 kB / 488.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.3325, allocations: 71.98 kB / 488.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006898/0.3332, allocations: 1.385 MB / 489.6 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.3336, allocations: 67.36 kB / 489.6 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.3337, allocations: 17.75 kB / 489.6 MB, free: 444 kB / 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.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.0001981/0.3339, allocations: 273.2 kB / 489.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.3339, allocations: 49.56 kB / 490 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.3351, allocations: 0.4994 MB / 490.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3351, allocations: 2.75 kB / 490.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3352, allocations: 1.375 kB / 490.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3352, allocations: 3.938 kB / 490.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.337, allocations: 1.136 MB / 491.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3371, allocations: 3.938 kB / 491.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.3374, allocations: 61.83 kB / 491.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.081e-05/0.3375, allocations: 26.44 kB / 491.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.3375, allocations: 8.594 kB / 491.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.3385, allocations: 1.37 MB / 493.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3385, allocations: 1.812 kB / 493.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.3401, allocations: 0.7656 MB / 493.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.3403, allocations: 133.2 kB / 494 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/0.3404, allocations: 8.781 kB / 494 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.3408, allocations: 44.77 kB / 494 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.3409, allocations: 28.47 kB / 494 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.3409, allocations: 16.36 kB / 494.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000541/0.3415, allocations: 406.3 kB / 494.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3415, allocations: 0 / 494.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009391/0.3424, allocations: 273.1 kB / 494.7 MB, free: 12.48 MB / 366.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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.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.001101/0.3436, allocations: 368.8 kB / 495.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.3459, allocations: 1.165 MB / 496.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.346, allocations: 0 / 496.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006979/0.3467, allocations: 437.1 kB / 496.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.3473, allocations: 81.08 kB / 496.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.3501, allocations: 1.197 MB / 497.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.3508, allocations: 0.8933 MB / 498.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003183/0.3511, allocations: 57.09 kB / 498.9 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3512, allocations: 40.69 kB / 498.9 MB, free: 9.414 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3512, allocations: 0 / 498.9 MB, free: 9.414 MB / 366.1 MB Notification: Performance of Templates: time 0.01601/0.3673, allocations: 7.12 MB / 0.4942 GB, free: 2.441 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)