Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008045/0.0008047, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004828/0.004828, allocations: 169 kB / 16.26 MB, free: 6.66 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1678/0.1678, allocations: 8.919 MB / 300.4 MB, free: 3 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005515/0.0005516, allocations: 8 kB / 363.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1307, allocations: 52.48 MB / 416 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.006457/0.1372, allocations: 4.71 MB / 420.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.1403, allocations: 1.449 MB / 422.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000526/0.1409, allocations: 15.94 kB / 422.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004638/0.1413, allocations: 163.2 kB / 422.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006/0.142, allocations: 194.9 kB / 422.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.1427, allocations: 331.6 kB / 422.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009233/0.1436, allocations: 0.8688 MB / 423.8 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006602/0.1443, allocations: 430.2 kB / 424.2 MB, free: 44 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1811/0.3254, allocations: 269.3 kB / 424.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.3259, allocations: 335.5 kB / 424.8 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.13e-05/0.326, allocations: 34.94 kB / 424.8 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.3262, allocations: 70.7 kB / 424.9 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.3263, allocations: 137.7 kB / 425 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.3266, allocations: 372.8 kB / 425.4 MB, free: 35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000771/0.3274, allocations: 1.002 MB / 426.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.3274, allocations: 0.6562 kB / 426.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3274, allocations: 0 / 426.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.3275, allocations: 1.344 kB / 426.4 MB, free: 34.89 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001547/0.329, allocations: 1.051 MB / 427.4 MB, free: 34.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3291, allocations: 11.75 kB / 427.4 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.3292, allocations: 89.47 kB / 427.5 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.3297, allocations: 0.4995 MB / 428 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.3298, allocations: 85.69 kB / 428.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/0.33, allocations: 70.75 kB / 428.2 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.3312, allocations: 0.7148 MB / 428.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.3312, allocations: 0 / 428.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.3313, allocations: 29.31 kB / 428.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.3313, allocations: 14.72 kB / 428.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.3325, allocations: 0.5565 MB / 429.5 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/0.3357, allocations: 2.622 MB / 432.1 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.3367, allocations: 499.1 kB / 432.6 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/0.3372, allocations: 215.1 kB / 432.8 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.3372, allocations: 10.28 kB / 432.8 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005923/0.3378, allocations: 297.3 kB / 433.1 MB, free: 32.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.104e-06/0.3378, allocations: 0 / 433.1 MB, free: 32.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.001683/0.3395, allocations: 0.804 MB / 433.9 MB, free: 32.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3396, allocations: 138 kB / 434.1 MB, free: 32.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005551/0.3402, allocations: 0.5813 MB / 434.6 MB, free: 32.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.3402, allocations: 34.11 kB / 434.7 MB, free: 32.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.3404, allocations: 363.6 kB / 435 MB, free: 31.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.3405, allocations: 130.7 kB / 435.2 MB, free: 31.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.3405, allocations: 49.48 kB / 435.2 MB, free: 31.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.3406, allocations: 372 kB / 435.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.3411, allocations: 195.8 kB / 435.8 MB, free: 31.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.3416, allocations: 328.8 kB / 436.1 MB, free: 31.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.3425, allocations: 0.631 MB / 436.7 MB, free: 30.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3426, allocations: 3.438 kB / 436.7 MB, free: 30.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001191/0.3438, allocations: 0.709 MB / 437.4 MB, free: 30.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.627e-05/0.3439, allocations: 273.7 kB / 437.7 MB, free: 30.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3439, allocations: 3.125 kB / 437.7 MB, free: 30.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.344, allocations: 32.62 kB / 437.7 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.3444, allocations: 110 kB / 437.8 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007451/0.3452, allocations: 1.283 MB / 439.1 MB, free: 29.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.3457, allocations: 97.58 kB / 439.2 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.3457, allocations: 28.53 kB / 439.2 MB, free: 29.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.3457, allocations: 6.594 kB / 439.2 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/0.3469, allocations: 0.6223 MB / 439.9 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3469, allocations: 3.344 kB / 439.9 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.381e-05/0.347, allocations: 20.95 kB / 439.9 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.3474, allocations: 105 kB / 440 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006744/0.3481, allocations: 1.285 MB / 441.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.3486, allocations: 81.67 kB / 441.4 MB, free: 27.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.3486, allocations: 26.94 kB / 441.4 MB, free: 27.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$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 (56): * Single equations (assignments): 52 * 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.0004707/0.3491, allocations: 363.3 kB / 441.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.3492, allocations: 65.06 kB / 441.8 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.3504, allocations: 0.578 MB / 442.4 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3504, allocations: 10.06 kB / 442.4 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.3504, allocations: 2.625 kB / 442.4 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3504, allocations: 0 / 442.4 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.3522, allocations: 1.26 MB / 443.6 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3522, allocations: 3.375 kB / 443.7 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.3525, allocations: 77.42 kB / 443.7 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.737e-05/0.3526, allocations: 21.78 kB / 443.7 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.3526, allocations: 10.95 kB / 443.8 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006186/0.3533, allocations: 1.28 MB / 445 MB, free: 25.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3533, allocations: 0 / 445 MB, free: 25.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.3548, allocations: 0.9049 MB / 445.9 MB, free: 25.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.355, allocations: 179.1 kB / 446.1 MB, free: 24.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.3551, allocations: 7.062 kB / 446.1 MB, free: 24.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.3555, allocations: 59 kB / 446.2 MB, free: 24.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3556, allocations: 41.73 kB / 446.2 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.3556, allocations: 13.31 kB / 446.2 MB, free: 24.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003987/0.356, allocations: 413.5 kB / 446.6 MB, free: 24.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.356, allocations: 0 / 446.6 MB, free: 24.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007968/0.3568, allocations: 286.7 kB / 446.9 MB, free: 24.67 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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * 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.001293/0.3581, allocations: 376 kB / 447.3 MB, free: 24.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.3601, allocations: 1.311 MB / 448.6 MB, free: 23.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3601, allocations: 3.156 kB / 448.6 MB, free: 23.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.3607, allocations: 467.5 kB / 449.1 MB, free: 23.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.3613, allocations: 90.8 kB / 449.1 MB, free: 23.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.3633, allocations: 1.624 MB / 450.8 MB, free: 22.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.3636, allocations: 0.912 MB / 451.7 MB, free: 21.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002787/0.3639, allocations: 67.47 kB / 451.8 MB, free: 21.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-05/0.364, allocations: 35.31 kB / 451.8 MB, free: 21.61 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.364, allocations: 0 / 451.8 MB, free: 21.61 MB / 350.1 MB Notification: Performance of Templates: time 0.01128/0.3753, allocations: 6.623 MB / 458.4 MB, free: 21.09 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1)