Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 108.4 kB / 15.78 MB, free: 5.539 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.001332/0.001332, allocations: 199.3 kB / 16.73 MB, free: 5.41 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.651/1.651, allocations: 225.6 MB / 243.1 MB, free: 3.672 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03964/0.03964, allocations: 8.138 MB / 304.1 MB, free: 3.152 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.88 kB / 424.4 MB, free: 168 kB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3425, allocations: 54.06 MB / 478.4 MB, free: 23.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange2): time 0.005932/0.3484, allocations: 4.878 MB / 483.3 MB, free: 20.28 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.3527, allocations: 2.567 MB / 485.9 MB, free: 18.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006434/0.3534, allocations: 17.06 kB / 485.9 MB, free: 18.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006259/0.354, allocations: 232.6 kB / 486.1 MB, free: 18.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007838/0.3548, allocations: 300.5 kB / 486.4 MB, free: 18.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.3561, allocations: 0.5505 MB / 487 MB, free: 17.81 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.3573, allocations: 1.02 MB / 488 MB, free: 17.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005243/0.3579, allocations: 346.1 kB / 488.3 MB, free: 17.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005312/0.3584, allocations: 390.8 kB / 488.7 MB, free: 16.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/0.359, allocations: 460.5 kB / 489.2 MB, free: 16.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.3592, allocations: 106.8 kB / 489.3 MB, free: 16.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005033/0.3597, allocations: 207.5 kB / 489.5 MB, free: 16.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.36, allocations: 246.3 kB / 489.7 MB, free: 16.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004242/0.3604, allocations: 469.3 kB / 490.2 MB, free: 16.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.3621, allocations: 1.262 MB / 491.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3621, allocations: 0 / 491.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3621, allocations: 5.625 kB / 491.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.3621, allocations: 0 / 491.4 MB, free: 15.55 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002281/0.3644, allocations: 1.316 MB / 492.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3645, allocations: 13.48 kB / 492.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.3647, allocations: 104.4 kB / 492.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009329/0.3657, allocations: 0.6021 MB / 493.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.3657, allocations: 55.17 kB / 493.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.3658, allocations: 75.67 kB / 493.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.3671, allocations: 0.7075 MB / 494.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.3671, allocations: 2 kB / 494.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.3672, allocations: 30.81 kB / 494.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.3672, allocations: 20.44 kB / 494.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.3683, allocations: 0.4958 MB / 494.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.3723, allocations: 2.608 MB / 497.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009845/0.3733, allocations: 434.1 kB / 497.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/0.3737, allocations: 158.5 kB / 498 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.3737, allocations: 10.72 kB / 498 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005946/0.3743, allocations: 268.2 kB / 498.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.914e-06/0.3743, allocations: 1 kB / 498.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001759/0.3761, allocations: 0.7437 MB / 499.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.3762, allocations: 190.9 kB / 499.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.3772, allocations: 0.7955 MB / 0.4883 GB, free: 10.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.3773, allocations: 33.7 kB / 0.4883 GB, free: 10.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.3775, allocations: 413.7 kB / 0.4887 GB, free: 9.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/0.3776, allocations: 127.2 kB / 0.4889 GB, free: 9.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.3778, allocations: 97.7 kB / 0.489 GB, free: 9.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3779, allocations: 375 kB / 0.4893 GB, free: 9.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.3783, allocations: 174.1 kB / 0.4895 GB, free: 9.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.3788, allocations: 296.5 kB / 0.4898 GB, free: 9.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/0.3797, allocations: 0.5703 MB / 0.4903 GB, free: 8.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3797, allocations: 1.062 kB / 0.4903 GB, free: 8.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00121/0.3809, allocations: 0.6683 MB / 0.491 GB, free: 8.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.3809, allocations: 91.36 kB / 0.4911 GB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.381, allocations: 6.938 kB / 0.4911 GB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.3812, allocations: 26.09 kB / 0.4911 GB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.3816, allocations: 97.88 kB / 0.4912 GB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008602/0.3825, allocations: 1.383 MB / 0.4925 GB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.383, allocations: 86.27 kB / 0.4926 GB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.3831, allocations: 19.34 kB / 0.4926 GB, free: 6.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006906/0.3838, allocations: 363.8 kB / 0.493 GB, free: 6.297 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004418/0.3842, allocations: 280.7 kB / 0.4933 GB, free: 6.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007823/0.385, allocations: 0.55 MB / 0.4938 GB, free: 5.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.385, allocations: 0 / 0.4938 GB, free: 5.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001142/0.3861, allocations: 0.6324 MB / 0.4944 GB, free: 5.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.3862, allocations: 93.91 kB / 0.4945 GB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3862, allocations: 2.906 kB / 0.4945 GB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.662e-05/0.3863, allocations: 27.02 kB / 0.4945 GB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.3866, allocations: 96.25 kB / 0.4946 GB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006937/0.3873, allocations: 1.392 MB / 0.496 GB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.3878, allocations: 63.09 kB / 0.496 GB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.3878, allocations: 23.7 kB / 0.4961 GB, free: 3.605 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 (oneFlange.limTau.state,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 (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.0002412/0.3881, allocations: 276.5 kB / 0.4963 GB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3882, allocations: 73.59 kB / 0.4964 GB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3894, allocations: 0.549 MB / 0.4969 GB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3894, allocations: 3.281 kB / 0.4969 GB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3894, allocations: 5.219 kB / 0.4969 GB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3894, allocations: 0 / 0.4969 GB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.3915, allocations: 1.293 MB / 0.4982 GB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3915, allocations: 0 / 0.4982 GB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.3918, allocations: 67.36 kB / 0.4983 GB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.319e-05/0.3919, allocations: 26.94 kB / 0.4983 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.3919, allocations: 7.844 kB / 0.4983 GB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006457/0.3925, allocations: 1.377 MB / 0.4996 GB, free: 496 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3925, allocations: 2.562 kB / 0.4996 GB, free: 496 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.3941, allocations: 0.8338 MB / 0.5005 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.3944, allocations: 177.6 kB / 0.5006 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.3945, allocations: 17.98 kB / 0.5006 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.3949, allocations: 40.89 kB / 0.5007 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.395, allocations: 41.95 kB / 0.5007 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.3951, allocations: 13.34 kB / 0.5007 GB, free: 15.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008459/0.3959, allocations: 0.5548 MB / 0.5013 GB, free: 15.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3959, allocations: 5.375 kB / 0.5013 GB, free: 15.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001117/0.397, allocations: 326.1 kB / 0.5016 GB, free: 15.32 MB / 382.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,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 (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.00261/0.3996, allocations: 0.6477 MB / 0.5022 GB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.402, allocations: 1.173 MB / 0.5034 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.402, allocations: 1.062 kB / 0.5034 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007344/0.4028, allocations: 418.9 kB / 0.5038 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.4036, allocations: 118.6 kB / 0.5039 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.4065, allocations: 1.464 MB / 0.5053 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007602/0.4073, allocations: 0.952 MB / 0.5062 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000345/0.4076, allocations: 80.38 kB / 0.5063 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.4078, allocations: 45.05 kB / 0.5064 GB, free: 11.94 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4078, allocations: 0 / 0.5064 GB, free: 11.94 MB / 382.1 MB Notification: Performance of Templates: time 0.01835/0.4261, allocations: 8.917 MB / 0.5151 GB, free: 3.5 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe 2>&1)