Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008738/0.008738, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001824/0.001825, allocations: 195 kB / 16.67 MB, free: 5.977 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2333/0.2333, allocations: 8.313 MB / 298.8 MB, free: 2.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 413.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3483, allocations: 51.26 MB / 464.7 MB, free: 18.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.006149/0.3545, allocations: 4.108 MB / 468.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004016/0.3585, allocations: 1.415 MB / 470.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009082/0.3595, allocations: 14.31 kB / 470.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006946/0.3602, allocations: 152.6 kB / 470.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007813/0.361, allocations: 200.6 kB / 470.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3622, allocations: 375.1 kB / 471 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.3633, allocations: 0.8454 MB / 471.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007576/0.364, allocations: 444.3 kB / 472.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.3646, allocations: 317.9 kB / 472.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005203/0.3651, allocations: 350 kB / 472.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.3653, allocations: 93.34 kB / 473 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.3656, allocations: 126.4 kB / 473.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.3659, allocations: 197.2 kB / 473.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004253/0.3663, allocations: 407.1 kB / 473.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.368, allocations: 1.021 MB / 474.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.368, allocations: 0 / 474.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.368, allocations: 0 / 474.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.368, allocations: 1.375 kB / 474.8 MB, free: 11.81 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002156/0.3702, allocations: 1.123 MB / 475.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3702, allocations: 8.875 kB / 475.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.3704, allocations: 89.02 kB / 476 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.3712, allocations: 0.5004 MB / 476.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/0.3713, allocations: 47.59 kB / 476.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.3714, allocations: 68.3 kB / 476.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.3728, allocations: 0.6493 MB / 477.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.3728, allocations: 1.797 kB / 477.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.3729, allocations: 31.19 kB / 477.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.3729, allocations: 15.19 kB / 477.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.3742, allocations: 478.7 kB / 477.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.3777, allocations: 2.496 MB / 480.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009397/0.3786, allocations: 421.5 kB / 480.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/0.379, allocations: 173.8 kB / 480.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.3791, allocations: 11.2 kB / 480.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005546/0.3796, allocations: 255.2 kB / 481.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.3796, allocations: 0 / 481.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001617/0.3813, allocations: 0.6792 MB / 481.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.3813, allocations: 142.7 kB / 481.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007912/0.3821, allocations: 0.5611 MB / 482.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.3822, allocations: 34.2 kB / 482.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.3824, allocations: 343.4 kB / 482.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.698e-05/0.3825, allocations: 113.1 kB / 482.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.3827, allocations: 73.69 kB / 483 MB, free: 6.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3828, allocations: 359.4 kB / 483.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.3833, allocations: 163.3 kB / 483.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.3837, allocations: 255.1 kB / 483.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009554/0.3847, allocations: 0.5323 MB / 484.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.3847, allocations: 1.125 kB / 484.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001293/0.386, allocations: 0.5942 MB / 484.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.419e-05/0.3861, allocations: 90.7 kB / 485 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3861, allocations: 3.469 kB / 485 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.3863, allocations: 25.41 kB / 485 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.3867, allocations: 90.66 kB / 485.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008336/0.3875, allocations: 1.374 MB / 486.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.388, allocations: 77.14 kB / 486.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.3881, allocations: 21.61 kB / 486.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005243/0.3886, allocations: 315 kB / 486.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003907/0.389, allocations: 247.3 kB / 487.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007879/0.3898, allocations: 0.5157 MB / 487.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.59e-06/0.3898, allocations: 1.062 kB / 487.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00117/0.391, allocations: 0.5621 MB / 488.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.3911, allocations: 97.7 kB / 488.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3911, allocations: 2.344 kB / 488.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-05/0.3912, allocations: 30.34 kB / 488.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.3915, allocations: 75.33 kB / 488.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006834/0.3922, allocations: 1.385 MB / 489.8 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.3926, allocations: 65.92 kB / 489.9 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.3927, allocations: 17.75 kB / 489.9 MB, free: 280 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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.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.0001808/0.3928, allocations: 270.6 kB / 490.1 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.393, allocations: 53.98 kB / 490.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.3941, allocations: 0.4942 MB / 490.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3941, allocations: 4.125 kB / 490.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3942, allocations: 0 / 490.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/0.3942, allocations: 0 / 490.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.3963, allocations: 1.132 MB / 491.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3964, allocations: 0 / 491.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.3967, allocations: 57.36 kB / 491.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.431e-05/0.3968, allocations: 26.16 kB / 491.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.3968, allocations: 12.5 kB / 491.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.3982, allocations: 1.367 MB / 493.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.3982, allocations: 13.52 kB / 493.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.4001, allocations: 0.7654 MB / 494.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.4003, allocations: 137 kB / 494.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/0.4004, allocations: 8.406 kB / 494.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.4008, allocations: 41.67 kB / 494.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.401, allocations: 36.48 kB / 494.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.401, allocations: 11.53 kB / 494.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006089/0.4016, allocations: 406.9 kB / 494.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.254e-06/0.4016, allocations: 0 / 494.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001019/0.4027, allocations: 270.3 kB / 495 MB, free: 12.32 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.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,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 (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.000901/0.4036, allocations: 375.2 kB / 495.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.4059, allocations: 1.159 MB / 496.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.4059, allocations: 1.094 kB / 496.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007812/0.4067, allocations: 431.5 kB / 496.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.4074, allocations: 92.55 kB / 497 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.4105, allocations: 1.201 MB / 498.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008674/0.4114, allocations: 0.8907 MB / 499.1 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003385/0.4117, allocations: 52.98 kB / 499.1 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.4119, allocations: 36.77 kB / 499.2 MB, free: 9.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.184e-06/0.4119, allocations: 0 / 499.2 MB, free: 9.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01641/0.4283, allocations: 7.088 MB / 0.4944 GB, free: 2.289 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)