Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009076/0.009076, allocations: 102 kB / 15.73 MB, free: 5.555 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.00247/0.00247, allocations: 191.4 kB / 16.67 MB, free: 5.484 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.604/1.604, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2179/0.2179, allocations: 7.994 MB / 298.5 MB, free: 2.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 72.08 kB / 413.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.328, allocations: 51.23 MB / 464.4 MB, free: 18.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange1): time 0.007865/0.3359, allocations: 4.852 MB / 469.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004041/0.34, allocations: 1.945 MB / 471.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006422/0.3407, allocations: 16.25 kB / 471.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006733/0.3414, allocations: 244 kB / 471.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007668/0.3422, allocations: 279.2 kB / 471.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3436, allocations: 0.5448 MB / 472.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.3448, allocations: 1.034 MB / 473.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006894/0.3455, allocations: 0.4917 MB / 473.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005027/0.346, allocations: 383.7 kB / 474.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005295/0.3465, allocations: 436.7 kB / 474.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.3467, allocations: 104 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.3472, allocations: 188.6 kB / 474.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.3475, allocations: 241.6 kB / 475.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.3479, allocations: 463.3 kB / 475.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.3497, allocations: 1.234 MB / 476.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3497, allocations: 0.8438 kB / 476.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3497, allocations: 1.375 kB / 476.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.3497, allocations: 0 / 476.8 MB, free: 10.49 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002135/0.3519, allocations: 1.307 MB / 478.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3519, allocations: 12.7 kB / 478.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.3522, allocations: 103.1 kB / 478.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.353, allocations: 0.602 MB / 478.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/0.3531, allocations: 54.25 kB / 478.9 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.3532, allocations: 71.06 kB / 478.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.3545, allocations: 0.6883 MB / 479.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.3545, allocations: 9.109 kB / 479.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.3546, allocations: 31.88 kB / 479.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.3546, allocations: 15.5 kB / 479.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.3558, allocations: 0.5009 MB / 480.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.359, allocations: 2.594 MB / 482.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009733/0.36, allocations: 459.8 kB / 483.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.3604, allocations: 180.1 kB / 483.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.3605, allocations: 8.328 kB / 483.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005568/0.361, allocations: 276 kB / 483.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.3611, allocations: 0 / 483.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001704/0.3628, allocations: 0.7346 MB / 484.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.3628, allocations: 147.8 kB / 484.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008972/0.3637, allocations: 0.7738 MB / 485.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.3638, allocations: 33.98 kB / 485.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.364, allocations: 417.6 kB / 485.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.3641, allocations: 126.1 kB / 485.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.3643, allocations: 93.05 kB / 486 MB, free: 3.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.3644, allocations: 382.8 kB / 486.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.3648, allocations: 174.4 kB / 486.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.3653, allocations: 277.2 kB / 486.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008812/0.3662, allocations: 0.5707 MB / 487.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3662, allocations: 1.219 kB / 487.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0012/0.3674, allocations: 0.6615 MB / 488 MB, free: 2.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.3675, allocations: 96.91 kB / 488.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3675, allocations: 8.125 kB / 488.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.3677, allocations: 25.22 kB / 488.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.368, allocations: 95.38 kB / 488.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007122/0.3688, allocations: 1.382 MB / 489.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.3692, allocations: 90.05 kB / 489.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.3693, allocations: 19.12 kB / 489.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005569/0.3698, allocations: 366.9 kB / 490.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004103/0.3703, allocations: 270.2 kB / 490.4 MB, free: 380 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000836/0.3711, allocations: 0.5573 MB / 490.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.3711, allocations: 1.312 kB / 490.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001258/0.3724, allocations: 0.6278 MB / 491.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.3725, allocations: 90.64 kB / 491.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3725, allocations: 4 kB / 491.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.521e-05/0.3726, allocations: 29.72 kB / 491.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.3729, allocations: 92.12 kB / 491.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.3741, allocations: 1.384 MB / 493.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.3746, allocations: 67.45 kB / 493.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.3746, allocations: 18.44 kB / 493.2 MB, free: 13.91 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.0002837/0.3749, allocations: 283.7 kB / 493.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.375, allocations: 72.88 kB / 493.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.3763, allocations: 0.5396 MB / 494.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3763, allocations: 6.531 kB / 494.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3763, allocations: 1.25 kB / 494.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3763, allocations: 0 / 494.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.3786, allocations: 1.256 MB / 495.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3786, allocations: 1.156 kB / 495.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.3789, allocations: 63.45 kB / 495.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.125e-05/0.379, allocations: 27 kB / 495.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.3791, allocations: 8.594 kB / 495.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.3802, allocations: 1.378 MB / 496.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3802, allocations: 0 / 496.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.382, allocations: 0.8333 MB / 497.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.3823, allocations: 191 kB / 497.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/0.3823, allocations: 8.875 kB / 497.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.3827, allocations: 44.73 kB / 497.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.3829, allocations: 38.02 kB / 498 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.3829, allocations: 7.781 kB / 498 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007294/0.3837, allocations: 0.5522 MB / 498.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3837, allocations: 1.281 kB / 498.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009247/0.3846, allocations: 316.9 kB / 498.8 MB, free: 9.664 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,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.002345/0.3869, allocations: 0.6031 MB / 499.4 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.3893, allocations: 1.232 MB / 0.4889 GB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3893, allocations: 4.062 kB / 0.4889 GB, free: 8.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007223/0.39, allocations: 437.3 kB / 0.4894 GB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.3907, allocations: 126.3 kB / 0.4895 GB, free: 7.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.3933, allocations: 1.445 MB / 0.4909 GB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/0.394, allocations: 0.9528 MB / 0.4918 GB, free: 5.051 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.3943, allocations: 96.47 kB / 0.4919 GB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.3945, allocations: 43.44 kB / 0.492 GB, free: 4.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3945, allocations: 0 / 0.492 GB, free: 4.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01728/0.4117, allocations: 8.418 MB / 0.5002 GB, free: 12.53 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe 2>&1)