Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.008229/0.008229, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.00152/0.00152, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2192/0.2192, allocations: 8.026 MB / 298.6 MB, free: 2.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 67.89 kB / 413.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3102, allocations: 51.19 MB / 464.3 MB, free: 18.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004864/0.3151, allocations: 4.105 MB / 468.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.3172, allocations: 1.415 MB / 469.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.3175, allocations: 14.94 kB / 469.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.3179, allocations: 142.9 kB / 469.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.3184, allocations: 214.8 kB / 470.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.3192, allocations: 375.1 kB / 470.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000756/0.3199, allocations: 0.8457 MB / 471.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005471/0.3205, allocations: 453.2 kB / 471.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.3209, allocations: 314.6 kB / 472.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.3212, allocations: 354.1 kB / 472.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.3213, allocations: 93.06 kB / 472.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.3216, allocations: 122.3 kB / 472.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.3218, allocations: 205 kB / 472.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.3221, allocations: 394.8 kB / 473.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.3232, allocations: 1.027 MB / 474.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3232, allocations: 0 / 474.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3232, allocations: 1.938 kB / 474.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.3232, allocations: 0 / 474.3 MB, free: 11.99 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.001662/0.3249, allocations: 1.098 MB / 475.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3249, allocations: 9.625 kB / 475.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.3251, allocations: 79.88 kB / 475.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.3257, allocations: 0.4996 MB / 476 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.3257, allocations: 52.56 kB / 476 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.353e-05/0.3258, allocations: 64.42 kB / 476.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.3271, allocations: 0.6406 MB / 476.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.3271, allocations: 6.109 kB / 476.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-05/0.3272, allocations: 23.53 kB / 476.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.3272, allocations: 19.19 kB / 476.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.3284, allocations: 482.4 kB / 477.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.3317, allocations: 2.486 MB / 479.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009593/0.3327, allocations: 431.3 kB / 480.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004024/0.3331, allocations: 169.6 kB / 480.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.3332, allocations: 4.172 kB / 480.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005533/0.3337, allocations: 263 kB / 480.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.3337, allocations: 0 / 480.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00155/0.3353, allocations: 0.6742 MB / 481.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3353, allocations: 143.7 kB / 481.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006013/0.336, allocations: 0.5615 MB / 481.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.336, allocations: 37.67 kB / 482 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.3362, allocations: 331 kB / 482.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/0.3363, allocations: 100.7 kB / 482.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3364, allocations: 80.69 kB / 482.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.3365, allocations: 363.8 kB / 482.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.3369, allocations: 166.6 kB / 483 MB, free: 6.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.3374, allocations: 250.9 kB / 483.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/0.3382, allocations: 0.5407 MB / 483.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3382, allocations: 1.062 kB / 483.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0011/0.3393, allocations: 0.5823 MB / 484.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.3394, allocations: 95.44 kB / 484.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3394, allocations: 6.406 kB / 484.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.3396, allocations: 21.73 kB / 484.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.3399, allocations: 82.75 kB / 484.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007248/0.3407, allocations: 1.382 MB / 485.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.3411, allocations: 81.73 kB / 486 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.3412, allocations: 14.5 kB / 486 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005796/0.3418, allocations: 317.9 kB / 486.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004157/0.3422, allocations: 247.8 kB / 486.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008044/0.343, allocations: 0.508 MB / 487.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.343, allocations: 0 / 487.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001175/0.3442, allocations: 0.5738 MB / 487.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.3443, allocations: 90.19 kB / 487.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3443, allocations: 4 kB / 487.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.3444, allocations: 26.3 kB / 487.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.3447, allocations: 79.03 kB / 487.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007099/0.3454, allocations: 1.386 MB / 489.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.3459, allocations: 61.95 kB / 489.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.3459, allocations: 17.91 kB / 489.3 MB, free: 0.5898 MB / 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.0001878/0.3461, allocations: 274.8 kB / 489.6 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/0.3462, allocations: 57.28 kB / 489.7 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.3473, allocations: 498.4 kB / 490.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3473, allocations: 2.75 kB / 490.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.3473, allocations: 1.375 kB / 490.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.3474, allocations: 0 / 490.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.3493, allocations: 1.131 MB / 491.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3493, allocations: 0 / 491.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.3496, allocations: 58.58 kB / 491.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.181e-05/0.3497, allocations: 22.47 kB / 491.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.3497, allocations: 12.06 kB / 491.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009301/0.3507, allocations: 1.374 MB / 492.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3507, allocations: 0 / 492.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.3523, allocations: 0.7666 MB / 493.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3524, allocations: 127.8 kB / 493.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.3525, allocations: 9.594 kB / 493.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.3529, allocations: 40.27 kB / 493.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.353, allocations: 33.67 kB / 493.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.3531, allocations: 14.97 kB / 493.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000535/0.3536, allocations: 407.1 kB / 494.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3536, allocations: 4 kB / 494.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008812/0.3545, allocations: 262.3 kB / 494.4 MB, free: 12.66 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.0008787/0.3554, allocations: 373 kB / 494.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.3576, allocations: 1.163 MB / 495.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3576, allocations: 1.25 kB / 495.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006867/0.3583, allocations: 431.8 kB / 496.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.359, allocations: 90.81 kB / 496.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.3618, allocations: 1.181 MB / 497.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/0.3625, allocations: 0.8915 MB / 498.5 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003143/0.3628, allocations: 59.58 kB / 498.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.3629, allocations: 36.44 kB / 498.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3629, allocations: 1.156 kB / 498.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of Templates: time 0.0156/0.3785, allocations: 7.071 MB / 0.4938 GB, free: 2.816 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)