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.001221/0.001222, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1763/0.1763, allocations: 8.018 MB / 300.1 MB, free: 3.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003065, allocations: 8 kB / 363.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1026, allocations: 52.18 MB / 415.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004858/0.1075, allocations: 3.744 MB / 419 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.1103, allocations: 1.399 MB / 420.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.1107, allocations: 15.94 kB / 420.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.1111, allocations: 115.3 kB / 420.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.1117, allocations: 159 kB / 420.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.1124, allocations: 347.3 kB / 421 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007617/0.1132, allocations: 0.7636 MB / 421.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006604/0.1139, allocations: 443.1 kB / 422.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003249/0.1142, allocations: 230.9 kB / 422.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.1145, allocations: 286.5 kB / 422.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.1146, allocations: 32 kB / 422.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1148, allocations: 63.98 kB / 422.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.1149, allocations: 135.4 kB / 422.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.1153, allocations: 351.8 kB / 423.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.1159, allocations: 0.7754 MB / 424 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.116, allocations: 0 / 424 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.116, allocations: 4 kB / 424 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.116, allocations: 0 / 424 MB, free: 0.8633 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.2005/0.3165, allocations: 0.9932 MB / 425 MB, free: 41.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3166, allocations: 10.69 kB / 425.1 MB, free: 41.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.3169, allocations: 81.41 kB / 425.1 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/0.3177, allocations: 0.4924 MB / 425.6 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.376e-05/0.3178, allocations: 51.75 kB / 425.7 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.3179, allocations: 68.53 kB / 425.7 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3194, allocations: 0.6842 MB / 426.4 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.3194, allocations: 5.25 kB / 426.4 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.3195, allocations: 32.53 kB / 426.5 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.3195, allocations: 14.72 kB / 426.5 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.3208, allocations: 0.5181 MB / 427 MB, free: 41.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.3245, allocations: 2.611 MB / 429.6 MB, free: 40.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.3255, allocations: 455.8 kB / 430.1 MB, free: 40.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.3259, allocations: 191.3 kB / 430.2 MB, free: 40.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.326, allocations: 4.391 kB / 430.2 MB, free: 40.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005819/0.3266, allocations: 268.3 kB / 430.5 MB, free: 39.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/0.3266, allocations: 3.312 kB / 430.5 MB, free: 39.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001679/0.3283, allocations: 0.7388 MB / 431.2 MB, free: 39.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.3283, allocations: 137.8 kB / 431.4 MB, free: 39.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006457/0.329, allocations: 0.5582 MB / 431.9 MB, free: 39.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.329, allocations: 35.48 kB / 432 MB, free: 39.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.3293, allocations: 338.2 kB / 432.3 MB, free: 39.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.3294, allocations: 115.1 kB / 432.4 MB, free: 39.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.3294, allocations: 41.19 kB / 432.5 MB, free: 39.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.3295, allocations: 358.8 kB / 432.8 MB, free: 38.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.33, allocations: 170.3 kB / 433 MB, free: 38.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.3304, allocations: 279 kB / 433.2 MB, free: 38.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009337/0.3313, allocations: 0.5621 MB / 433.8 MB, free: 38.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.3314, allocations: 0.6562 kB / 433.8 MB, free: 38.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001202/0.3326, allocations: 0.6217 MB / 434.4 MB, free: 38.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.3327, allocations: 265.4 kB / 434.7 MB, free: 37.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3327, allocations: 3.156 kB / 434.7 MB, free: 37.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.3329, allocations: 26.91 kB / 434.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.3332, allocations: 90.38 kB / 434.8 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007389/0.334, allocations: 1.286 MB / 436.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.3344, allocations: 83.81 kB / 436.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.3345, allocations: 17.28 kB / 436.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.3345, allocations: 6.125 kB / 436.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009821/0.3355, allocations: 0.547 MB / 436.7 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3355, allocations: 4.312 kB / 436.7 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.237e-05/0.3356, allocations: 27.94 kB / 436.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.3359, allocations: 88.2 kB / 436.9 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00061/0.3365, allocations: 1.287 MB / 438.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.3369, allocations: 76.66 kB / 438.2 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.3369, allocations: 23.62 kB / 438.2 MB, free: 34.93 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 (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.0003395/0.3373, allocations: 356.9 kB / 438.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.3374, allocations: 55.56 kB / 438.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.3384, allocations: 0.5182 MB / 439.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3384, allocations: 7.188 kB / 439.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3384, allocations: 1.75 kB / 439.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3384, allocations: 7.266 kB / 439.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.34, allocations: 1.162 MB / 440.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3401, allocations: 7.938 kB / 440.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.3403, allocations: 65.22 kB / 440.4 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-05/0.3404, allocations: 22.05 kB / 440.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.3405, allocations: 7.125 kB / 440.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005949/0.3411, allocations: 1.29 MB / 441.7 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3411, allocations: 0 / 441.7 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.3425, allocations: 0.8153 MB / 442.6 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3426, allocations: 141.8 kB / 442.7 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.3427, allocations: 7.219 kB / 442.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.3431, allocations: 62.31 kB / 442.8 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.861e-05/0.3432, allocations: 35.31 kB / 442.8 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.3432, allocations: 10.38 kB / 442.8 MB, free: 31.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003992/0.3436, allocations: 406.1 kB / 443.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3436, allocations: 0 / 443.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007647/0.3444, allocations: 275.5 kB / 443.5 MB, free: 31.48 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,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.0008776/0.3453, allocations: 368.6 kB / 443.8 MB, free: 31.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.3472, allocations: 1.21 MB / 445 MB, free: 30.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3472, allocations: 0 / 445 MB, free: 30.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.3477, allocations: 441.4 kB / 445.5 MB, free: 30.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.3484, allocations: 81.38 kB / 445.5 MB, free: 30.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.3505, allocations: 1.558 MB / 447.1 MB, free: 29.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3509, allocations: 0.8953 MB / 448 MB, free: 28.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.351, allocations: 37.34 kB / 448 MB, free: 28.49 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.351, allocations: 0 / 448 MB, free: 28.49 MB / 350.1 MB Notification: Performance of Templates: time 0.01275/0.3638, allocations: 10.26 MB / 458.3 MB, free: 27.43 MB / 350.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)