Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.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.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006828/0.006828, allocations: 99.42 kB / 15.73 MB, free: 6.043 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.001554/0.001554, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1878/0.1878, allocations: 8.007 MB / 298.5 MB, free: 2.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 413.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3041, allocations: 51.25 MB / 464.4 MB, free: 18.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange1Conn): time 0.006254/0.3104, allocations: 4.871 MB / 469.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.3141, allocations: 1.962 MB / 471.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006521/0.3148, allocations: 17.28 kB / 471.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.3155, allocations: 240.4 kB / 471.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007426/0.3163, allocations: 279.2 kB / 471.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.3175, allocations: 0.5575 MB / 472.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.3186, allocations: 1.04 MB / 473.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006994/0.3193, allocations: 0.531 MB / 473.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.3197, allocations: 390 kB / 474.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.3202, allocations: 447.4 kB / 474.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.3204, allocations: 106.1 kB / 474.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.3208, allocations: 191.5 kB / 475 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.321, allocations: 245.8 kB / 475.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.3213, allocations: 474.7 kB / 475.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.3229, allocations: 1.244 MB / 476.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3229, allocations: 0.6094 kB / 476.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3229, allocations: 1.094 kB / 476.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.323, allocations: 0 / 476.9 MB, free: 10.38 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: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.001945/0.3249, allocations: 1.318 MB / 478.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.325, allocations: 22.84 kB / 478.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.3252, allocations: 107.9 kB / 478.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.326, allocations: 0.6021 MB / 479 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.326, allocations: 56.22 kB / 479 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.3261, allocations: 82.5 kB / 479.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.3274, allocations: 0.72 MB / 479.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.3274, allocations: 1.156 kB / 479.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.3275, allocations: 28.28 kB / 479.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.3275, allocations: 16.72 kB / 479.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.3286, allocations: 0.5159 MB / 480.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.3317, allocations: 2.648 MB / 483.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009863/0.3327, allocations: 461.3 kB / 483.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.3332, allocations: 185.3 kB / 483.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/0.3332, allocations: 8.172 kB / 483.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005422/0.3338, allocations: 271.7 kB / 484 MB, free: 5.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.014e-06/0.3338, allocations: 0 / 484 MB, free: 5.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001683/0.3355, allocations: 0.7428 MB / 484.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.3355, allocations: 142.9 kB / 484.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008905/0.3364, allocations: 0.7748 MB / 485.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.3365, allocations: 37.08 kB / 485.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.3368, allocations: 419.1 kB / 486.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.3369, allocations: 123 kB / 486.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.337, allocations: 92.33 kB / 486.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.3371, allocations: 380.2 kB / 486.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.3376, allocations: 181.4 kB / 486.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.3381, allocations: 281.9 kB / 487.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009557/0.3391, allocations: 0.5708 MB / 487.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3391, allocations: 1.5 kB / 487.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00121/0.3403, allocations: 0.6493 MB / 488.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.3404, allocations: 95.66 kB / 488.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3404, allocations: 2.938 kB / 488.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.3406, allocations: 30.34 kB / 488.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.3409, allocations: 97.72 kB / 488.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007436/0.3417, allocations: 1.391 MB / 489.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.3422, allocations: 83.33 kB / 490 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.3422, allocations: 23.11 kB / 490 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005968/0.3428, allocations: 365.5 kB / 490.4 MB, free: 432 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004118/0.3432, allocations: 265.3 kB / 490.6 MB, free: 216 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000922/0.3442, allocations: 0.5495 MB / 491.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.953e-06/0.3442, allocations: 5.438 kB / 491.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001328/0.3455, allocations: 0.6368 MB / 491.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/0.3456, allocations: 94.36 kB / 491.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3456, allocations: 3.219 kB / 491.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.779e-05/0.3457, allocations: 30.34 kB / 492 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.3461, allocations: 95.69 kB / 492.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.3473, allocations: 1.374 MB / 493.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.3477, allocations: 74.92 kB / 493.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.3478, allocations: 23.41 kB / 493.5 MB, free: 13.73 MB / 366.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 (tauRef1.count,$PRE.tauRef1.count,tauRef1.T_start,$PRE.tauRef1.T_start,oneFlange.limTau.state,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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.000258/0.348, allocations: 270.8 kB / 493.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3482, allocations: 72.59 kB / 493.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.3495, allocations: 0.536 MB / 494.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3495, allocations: 7.125 kB / 494.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3495, allocations: 1 kB / 494.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.3495, allocations: 3.984 kB / 494.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.3519, allocations: 1.276 MB / 495.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3519, allocations: 0 / 495.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.3523, allocations: 67.27 kB / 495.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-05/0.3524, allocations: 27.56 kB / 495.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.3525, allocations: 7.625 kB / 495.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.3537, allocations: 1.378 MB / 497.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3537, allocations: 0 / 497.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.3555, allocations: 0.8225 MB / 498 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.3558, allocations: 197.5 kB / 498.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.303e-05/0.3559, allocations: 12.22 kB / 498.2 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.3563, allocations: 49.48 kB / 498.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.3565, allocations: 34.17 kB / 498.3 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.449e-05/0.3565, allocations: 15.62 kB / 498.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007715/0.3573, allocations: 0.5492 MB / 498.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3573, allocations: 0 / 498.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009988/0.3583, allocations: 315 kB / 499.1 MB, free: 9.449 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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlange.limTau.state,tauRef1.T_start,tauRef1.count) * Number of discrete states: 2 (tauRef1.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * 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.002351/0.3607, allocations: 0.6142 MB / 499.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.3631, allocations: 1.226 MB / 0.4892 GB, free: 7.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3631, allocations: 0 / 0.4892 GB, free: 7.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007467/0.3638, allocations: 442.1 kB / 0.4897 GB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/0.3647, allocations: 122.8 kB / 0.4898 GB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.3679, allocations: 1.476 MB / 0.4912 GB, free: 5.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/0.3687, allocations: 0.9525 MB / 0.4922 GB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003668/0.369, allocations: 84.56 kB / 0.4922 GB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.3692, allocations: 47.42 kB / 0.4923 GB, free: 4.555 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3692, allocations: 0 / 0.4923 GB, free: 4.555 MB / 366.1 MB Notification: Performance of Templates: time 0.01894/0.3881, allocations: 8.461 MB / 0.5005 GB, free: 12.13 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange1Conn.pipe 2>&1)