Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008608/0.0008608, allocations: 97.64 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.004798/0.004798, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1703/0.1703, allocations: 8.92 MB / 300.4 MB, free: 2.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 8 kB / 363.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1144, allocations: 52.48 MB / 416 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.006301/0.1207, allocations: 4.71 MB / 420.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003728/0.1245, allocations: 2.04 MB / 422.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.125, allocations: 15.94 kB / 422.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004578/0.1255, allocations: 167.1 kB / 423 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00057/0.1261, allocations: 210.8 kB / 423.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.1268, allocations: 323.6 kB / 423.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1896/0.3165, allocations: 0.866 MB / 424.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007583/0.3173, allocations: 422.9 kB / 424.8 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004976/0.3178, allocations: 273.4 kB / 425 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.3182, allocations: 347.9 kB / 425.4 MB, free: 35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.331e-05/0.3183, allocations: 34.12 kB / 425.4 MB, free: 35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.3185, allocations: 95.27 kB / 425.5 MB, free: 35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.3186, allocations: 138.8 kB / 425.6 MB, free: 34.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.3189, allocations: 372.6 kB / 426 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.3196, allocations: 1.025 MB / 427 MB, free: 34.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3196, allocations: 0 / 427 MB, free: 34.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3196, allocations: 0.75 kB / 427 MB, free: 34.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3196, allocations: 0 / 427 MB, free: 34.7 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.001518/0.3211, allocations: 1.065 MB / 428.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.3212, allocations: 10.97 kB / 428.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.3213, allocations: 89.16 kB / 428.2 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.3218, allocations: 0.5046 MB / 428.7 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.3219, allocations: 91.55 kB / 428.8 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/0.322, allocations: 70.38 kB / 428.9 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.3233, allocations: 0.716 MB / 429.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.3233, allocations: 3.75 kB / 429.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.3234, allocations: 31.3 kB / 429.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3234, allocations: 16.56 kB / 429.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3246, allocations: 0.557 MB / 430.2 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.3278, allocations: 2.631 MB / 432.8 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009351/0.3288, allocations: 495.5 kB / 433.3 MB, free: 32.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.3292, allocations: 215.4 kB / 433.5 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.3293, allocations: 6.719 kB / 433.5 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006243/0.3299, allocations: 299.8 kB / 433.8 MB, free: 32.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.3299, allocations: 0.5625 kB / 433.8 MB, free: 32.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.001619/0.3316, allocations: 0.8071 MB / 434.6 MB, free: 32.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.3316, allocations: 164.8 kB / 434.8 MB, free: 31.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.3322, allocations: 0.5779 MB / 435.4 MB, free: 31.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.3323, allocations: 41.05 kB / 435.4 MB, free: 31.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.3325, allocations: 357.9 kB / 435.7 MB, free: 31.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.696e-05/0.3325, allocations: 129.9 kB / 435.9 MB, free: 31.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.3326, allocations: 48.86 kB / 435.9 MB, free: 31.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.3327, allocations: 375.5 kB / 436.3 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.3331, allocations: 196.5 kB / 436.5 MB, free: 31.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.3336, allocations: 331.2 kB / 436.8 MB, free: 31.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.3345, allocations: 0.6334 MB / 437.4 MB, free: 30.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3345, allocations: 0 / 437.4 MB, free: 30.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001204/0.3357, allocations: 0.706 MB / 438.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.245e-05/0.3359, allocations: 281.6 kB / 438.4 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3359, allocations: 3.406 kB / 438.4 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.336, allocations: 28.81 kB / 438.4 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.3364, allocations: 104.6 kB / 438.5 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000674/0.3371, allocations: 1.284 MB / 439.8 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.3376, allocations: 103.3 kB / 439.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.3376, allocations: 24.03 kB / 440 MB, free: 28.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.31e-06/0.3377, allocations: 3.125 kB / 440 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/0.3387, allocations: 0.6208 MB / 440.6 MB, free: 28.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3388, allocations: 2.812 kB / 440.6 MB, free: 28.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.388e-05/0.3388, allocations: 23.48 kB / 440.6 MB, free: 28.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.3392, allocations: 106 kB / 440.7 MB, free: 28.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005799/0.3398, allocations: 1.287 MB / 442 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.3402, allocations: 85.97 kB / 442.1 MB, free: 27.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.3403, allocations: 23.84 kB / 442.1 MB, free: 27.52 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.0003659/0.3407, allocations: 370.4 kB / 442.5 MB, free: 27.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.3407, allocations: 61.56 kB / 442.5 MB, free: 27.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.3418, allocations: 0.5795 MB / 443.1 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3418, allocations: 7.438 kB / 443.1 MB, free: 27.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.3419, allocations: 0 / 443.1 MB, free: 27.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3419, allocations: 3.516 kB / 443.1 MB, free: 27.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3436, allocations: 1.29 MB / 444.4 MB, free: 26.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3436, allocations: 3.219 kB / 444.4 MB, free: 26.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.3439, allocations: 74.31 kB / 444.5 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.295e-05/0.344, allocations: 21.75 kB / 444.5 MB, free: 26.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.3441, allocations: 14.38 kB / 444.5 MB, free: 26.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005366/0.3446, allocations: 1.274 MB / 445.8 MB, free: 25.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3446, allocations: 0 / 445.8 MB, free: 25.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.3461, allocations: 0.9013 MB / 446.7 MB, free: 24.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.3462, allocations: 182.6 kB / 446.9 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.3463, allocations: 24 kB / 446.9 MB, free: 24.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.3467, allocations: 55.44 kB / 446.9 MB, free: 24.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.3468, allocations: 38.72 kB / 447 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.3469, allocations: 13.66 kB / 447 MB, free: 24.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003919/0.3473, allocations: 414.4 kB / 447.4 MB, free: 24.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.32e-07/0.3473, allocations: 0 / 447.4 MB, free: 24.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007654/0.3481, allocations: 300.5 kB / 447.7 MB, free: 24.21 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.00136/0.3494, allocations: 399.6 kB / 448.1 MB, free: 24.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.3513, allocations: 1.32 MB / 449.4 MB, free: 23.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3513, allocations: 3.312 kB / 449.4 MB, free: 23.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.3519, allocations: 473 kB / 449.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.3526, allocations: 87.12 kB / 450 MB, free: 22.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.3545, allocations: 1.627 MB / 451.6 MB, free: 21.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.3548, allocations: 0.9041 MB / 452.5 MB, free: 21.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.355, allocations: 61.5 kB / 452.5 MB, free: 21.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3552, allocations: 42.14 kB / 452.6 MB, free: 21.14 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3552, allocations: 3.031 kB / 452.6 MB, free: 21.14 MB / 350.1 MB Notification: Performance of Templates: time 0.0116/0.3668, allocations: 6.946 MB / 459.5 MB, free: 20.59 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1)