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.006426/0.006426, allocations: 93.97 kB / 15.73 MB, free: 6.051 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.001197/0.001197, allocations: 200.6 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1656/0.1656, allocations: 8.026 MB / 298.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 71.88 kB / 413.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3176, allocations: 51.19 MB / 464.3 MB, free: 18.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005589/0.3233, allocations: 4.143 MB / 468.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.326, allocations: 1.42 MB / 469.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.3263, allocations: 15.47 kB / 469.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.3269, allocations: 153.3 kB / 470 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.3274, allocations: 205.8 kB / 470.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008036/0.3282, allocations: 384.5 kB / 470.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008965/0.3291, allocations: 0.844 MB / 471.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.3298, allocations: 494.6 kB / 471.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.3303, allocations: 333.5 kB / 472.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.3307, allocations: 360.1 kB / 472.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.3308, allocations: 99.44 kB / 472.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.3311, allocations: 120.2 kB / 472.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.3314, allocations: 214.3 kB / 473 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.3318, allocations: 401.4 kB / 473.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.3332, allocations: 1.046 MB / 474.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3332, allocations: 0 / 474.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3332, allocations: 0 / 474.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.3332, allocations: 4 kB / 474.4 MB, free: 11.97 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.001973/0.3352, allocations: 1.14 MB / 475.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3353, allocations: 10.28 kB / 475.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.3355, allocations: 85.67 kB / 475.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007812/0.3362, allocations: 0.507 MB / 476.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.3363, allocations: 57.67 kB / 476.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.3364, allocations: 64.31 kB / 476.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.3378, allocations: 0.6708 MB / 477 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.3379, allocations: 1.828 kB / 477 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.3379, allocations: 27.16 kB / 477 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.3379, allocations: 15.28 kB / 477 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.3391, allocations: 494.5 kB / 477.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.3427, allocations: 2.561 MB / 480 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.3437, allocations: 429.9 kB / 480.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.3442, allocations: 170.5 kB / 480.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.3443, allocations: 3.453 kB / 480.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005779/0.3449, allocations: 263.2 kB / 480.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.3449, allocations: 0 / 480.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001691/0.3466, allocations: 0.6871 MB / 481.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.3466, allocations: 135.2 kB / 481.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007489/0.3474, allocations: 0.5535 MB / 482.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.3474, allocations: 37.23 kB / 482.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.3477, allocations: 349.5 kB / 482.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.521e-05/0.3478, allocations: 109.9 kB / 482.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.348, allocations: 81.45 kB / 482.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.3481, allocations: 363.6 kB / 483.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.3485, allocations: 166.6 kB / 483.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.349, allocations: 259.2 kB / 483.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008961/0.3499, allocations: 0.5257 MB / 484.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3499, allocations: 0 / 484.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001217/0.3511, allocations: 0.5963 MB / 484.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.3512, allocations: 92.44 kB / 484.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3512, allocations: 6.375 kB / 484.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.3514, allocations: 22.52 kB / 484.8 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.3518, allocations: 82.81 kB / 484.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009078/0.3527, allocations: 1.389 MB / 486.3 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.3532, allocations: 73.84 kB / 486.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.3532, allocations: 17.47 kB / 486.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006257/0.3539, allocations: 315.7 kB / 486.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004537/0.3543, allocations: 248 kB / 486.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008563/0.3552, allocations: 0.512 MB / 487.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.387e-06/0.3552, allocations: 1.125 kB / 487.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001124/0.3563, allocations: 0.5699 MB / 488 MB, free: 1.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.044e-05/0.3564, allocations: 94.84 kB / 488.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3564, allocations: 3 kB / 488.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.994e-05/0.3565, allocations: 29.92 kB / 488.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.3568, allocations: 83.75 kB / 488.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006927/0.3575, allocations: 1.382 MB / 489.6 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.358, allocations: 56.95 kB / 489.7 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.358, allocations: 17.72 kB / 489.7 MB, free: 376 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.0001659/0.3582, allocations: 278.8 kB / 490 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.3582, allocations: 53.08 kB / 490 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.3594, allocations: 0.4916 MB / 490.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3594, allocations: 2.75 kB / 490.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3594, allocations: 1.375 kB / 490.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3594, allocations: 3.938 kB / 490.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.3615, allocations: 1.136 MB / 491.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3615, allocations: 5.406 kB / 491.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.3618, allocations: 60.64 kB / 491.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.959e-05/0.3619, allocations: 22.28 kB / 491.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.3619, allocations: 12.94 kB / 491.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009596/0.3629, allocations: 1.374 MB / 493.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.3629, allocations: 8.141 kB / 493.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.3645, allocations: 0.7626 MB / 493.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.3647, allocations: 137.6 kB / 494 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.946e-05/0.3647, allocations: 9.062 kB / 494 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.3651, allocations: 44.92 kB / 494.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3653, allocations: 41.09 kB / 494.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.3653, allocations: 7.781 kB / 494.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005251/0.3658, allocations: 410.4 kB / 494.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3658, allocations: 0 / 494.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008543/0.3667, allocations: 273.7 kB / 494.8 MB, free: 12.4 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.001045/0.3678, allocations: 360.2 kB / 495.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.3698, allocations: 1.169 MB / 496.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3698, allocations: 0 / 496.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007015/0.3706, allocations: 429 kB / 496.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.3712, allocations: 89.45 kB / 496.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.3733, allocations: 1.212 MB / 498 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.3738, allocations: 0.8964 MB / 498.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000247/0.3741, allocations: 64.39 kB / 499 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3742, allocations: 37.62 kB / 499 MB, free: 9.312 MB / 366.1 MB Notification: Performance of SimCode: time 2.224e-06/0.3742, allocations: 3.938 kB / 499 MB, free: 9.309 MB / 366.1 MB Notification: Performance of Templates: time 0.01269/0.3869, allocations: 7.11 MB / 0.4943 GB, free: 2.301 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)