Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.008357/0.008357, allocations: 172 kB / 16.26 MB, free: 6.613 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.444/1.444, 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.1836/0.1836, allocations: 8.922 MB / 300.4 MB, free: 3.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 8 kB / 363.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 52.48 MB / 416 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.00526/0.1082, allocations: 4.02 MB / 420.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.1117, allocations: 2.067 MB / 422.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.112, allocations: 12 kB / 422.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.1124, allocations: 127.2 kB / 422.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005211/0.113, allocations: 186.9 kB / 422.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000766/0.1137, allocations: 387.4 kB / 422.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000917/0.1147, allocations: 0.8648 MB / 423.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006715/0.1154, allocations: 459.8 kB / 424.1 MB, free: 80 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1941/0.3095, allocations: 260.7 kB / 424.4 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000522/0.31, allocations: 330.4 kB / 424.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.253e-05/0.3101, allocations: 34.47 kB / 424.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.3103, allocations: 80.34 kB / 424.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.3105, allocations: 164.7 kB / 425 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.3109, allocations: 403 kB / 425.4 MB, free: 35.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008486/0.3117, allocations: 1.117 MB / 426.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3117, allocations: 0.5 kB / 426.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3117, allocations: 2.625 kB / 426.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3118, allocations: 5.094 kB / 426.5 MB, free: 34.89 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001633/0.3134, allocations: 1.09 MB / 427.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3135, allocations: 13 kB / 427.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.3136, allocations: 95.12 kB / 427.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.3142, allocations: 0.5585 MB / 428.3 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/0.3143, allocations: 55.38 kB / 428.3 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.3144, allocations: 83.59 kB / 428.4 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.3156, allocations: 0.7573 MB / 429.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.3157, allocations: 1.188 kB / 429.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.998e-05/0.3157, allocations: 32.47 kB / 429.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.3158, allocations: 15.39 kB / 429.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3169, allocations: 0.5674 MB / 429.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003526/0.3204, allocations: 2.757 MB / 432.5 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009442/0.3214, allocations: 0.4916 MB / 433 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.3218, allocations: 205 kB / 433.2 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3219, allocations: 9.688 kB / 433.2 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006081/0.3225, allocations: 286.6 kB / 433.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.3225, allocations: 0 / 433.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00164/0.3241, allocations: 0.7844 MB / 434.3 MB, free: 32.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.3242, allocations: 163.8 kB / 434.5 MB, free: 32.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006966/0.3249, allocations: 0.686 MB / 435.1 MB, free: 32.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3249, allocations: 32.86 kB / 435.2 MB, free: 32.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.3251, allocations: 383.3 kB / 435.5 MB, free: 31.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.3252, allocations: 115.5 kB / 435.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.3253, allocations: 48.23 kB / 435.7 MB, free: 31.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.3254, allocations: 376.1 kB / 436.1 MB, free: 31.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.3258, allocations: 194.1 kB / 436.3 MB, free: 31.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/0.3263, allocations: 327 kB / 436.6 MB, free: 31.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009577/0.3273, allocations: 0.6292 MB / 437.2 MB, free: 30.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3273, allocations: 0 / 437.2 MB, free: 30.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001193/0.3285, allocations: 0.7073 MB / 437.9 MB, free: 30.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-05/0.3286, allocations: 278 kB / 438.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3286, allocations: 3.906 kB / 438.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.3288, allocations: 35.53 kB / 438.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.3292, allocations: 105.7 kB / 438.3 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00067/0.3299, allocations: 1.298 MB / 439.6 MB, free: 29.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.3303, allocations: 99.42 kB / 439.7 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.3304, allocations: 23.5 kB / 439.7 MB, free: 29.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-06/0.3304, allocations: 7.625 kB / 439.8 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001034/0.3314, allocations: 0.6135 MB / 440.4 MB, free: 29.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3314, allocations: 3.156 kB / 440.4 MB, free: 29.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.66e-05/0.3315, allocations: 29.62 kB / 440.4 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.3319, allocations: 97.91 kB / 440.5 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005525/0.3324, allocations: 1.304 MB / 441.8 MB, free: 27.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.3328, allocations: 82.5 kB / 441.9 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.3329, allocations: 23.28 kB / 441.9 MB, free: 27.77 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: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0003662/0.3332, allocations: 390.3 kB / 442.3 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.3333, allocations: 60 kB / 442.3 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.3344, allocations: 0.572 MB / 442.9 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3344, allocations: 3.094 kB / 442.9 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3344, allocations: 6.75 kB / 442.9 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3344, allocations: 0 / 442.9 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.3361, allocations: 1.3 MB / 444.2 MB, free: 26.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3362, allocations: 6.734 kB / 444.2 MB, free: 26.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.3365, allocations: 69.62 kB / 444.3 MB, free: 26.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-05/0.3365, allocations: 21.67 kB / 444.3 MB, free: 26.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.3366, allocations: 17.84 kB / 444.3 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005404/0.3371, allocations: 1.285 MB / 445.6 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3371, allocations: 2.812 kB / 445.6 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.3386, allocations: 0.8687 MB / 446.5 MB, free: 25.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3387, allocations: 154.8 kB / 446.6 MB, free: 24.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/0.3388, allocations: 15.25 kB / 446.7 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.3392, allocations: 54.22 kB / 446.7 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3393, allocations: 33.88 kB / 446.7 MB, free: 24.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.3393, allocations: 9.688 kB / 446.8 MB, free: 24.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004669/0.3398, allocations: 493 kB / 447.2 MB, free: 24.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3398, allocations: 0 / 447.2 MB, free: 24.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007913/0.3406, allocations: 311.1 kB / 447.5 MB, free: 24.59 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.001369/0.342, allocations: 414.6 kB / 447.9 MB, free: 24.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.3438, allocations: 1.333 MB / 449.3 MB, free: 23.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3438, allocations: 0 / 449.3 MB, free: 23.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005556/0.3444, allocations: 457.1 kB / 449.7 MB, free: 23.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.345, allocations: 87.94 kB / 449.8 MB, free: 23.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.3469, allocations: 1.725 MB / 451.5 MB, free: 22.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.3473, allocations: 0.9299 MB / 452.5 MB, free: 21.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.3475, allocations: 80.53 kB / 452.5 MB, free: 21.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.3476, allocations: 39.72 kB / 452.6 MB, free: 21.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3476, allocations: 0 / 452.6 MB, free: 21.44 MB / 350.1 MB Notification: Performance of Templates: time 0.01195/0.3596, allocations: 7.42 MB / 460 MB, free: 20.84 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1)