Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008673/0.000867, 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.004615/0.004615, allocations: 173.7 kB / 16.27 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.461/1.461, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1578/0.1578, allocations: 7.662 MB / 299.1 MB, free: 3.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002976, allocations: 8 kB / 362 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09436, allocations: 52.15 MB / 414.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange4): time 0.005548/0.09994, allocations: 4.409 MB / 418.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003897/0.1039, allocations: 2.48 MB / 421 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.1042, allocations: 15.94 kB / 421 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.1047, allocations: 203 kB / 421.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005723/0.1053, allocations: 238.8 kB / 421.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1063, allocations: 0.5026 MB / 422 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.1073, allocations: 0.9429 MB / 422.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006408/0.1079, allocations: 439.1 kB / 423.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.1083, allocations: 290.5 kB / 423.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004975/0.1088, allocations: 366.2 kB / 424 MB, free: 252 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.817e-05/0.1089, allocations: 39.94 kB / 424 MB, free: 212 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.1092, allocations: 135.9 kB / 424.2 MB, free: 76 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1762/0.2855, allocations: 165.1 kB / 424.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005214/0.286, allocations: 415.5 kB / 424.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.2871, allocations: 1.147 MB / 425.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2871, allocations: 0 / 425.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2871, allocations: 0 / 425.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.2871, allocations: 3.938 kB / 425.9 MB, free: 35.07 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.001622/0.2887, allocations: 1.133 MB / 427 MB, free: 34.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2888, allocations: 10.28 kB / 427 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.289, allocations: 108.4 kB / 427.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006451/0.2896, allocations: 0.5867 MB / 427.7 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.2897, allocations: 50.72 kB / 427.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.369e-05/0.2898, allocations: 76.53 kB / 427.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.2909, allocations: 0.7343 MB / 428.6 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.291, allocations: 3.906 kB / 428.6 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/0.291, allocations: 28.91 kB / 428.6 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.291, allocations: 16.81 kB / 428.6 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.2922, allocations: 0.5367 MB / 429.2 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.2953, allocations: 2.65 MB / 431.8 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009541/0.2962, allocations: 488.8 kB / 432.3 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/0.2966, allocations: 197.4 kB / 432.5 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.2967, allocations: 9.828 kB / 432.5 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006118/0.2973, allocations: 291.8 kB / 432.8 MB, free: 32.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.532e-06/0.2973, allocations: 0 / 432.8 MB, free: 32.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001667/0.299, allocations: 0.7926 MB / 433.6 MB, free: 32.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.2991, allocations: 226.2 kB / 433.8 MB, free: 32.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.2999, allocations: 0.7929 MB / 434.6 MB, free: 32.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.2999, allocations: 39.61 kB / 434.6 MB, free: 32.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.3001, allocations: 399.8 kB / 435 MB, free: 31.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.3002, allocations: 118.6 kB / 435.1 MB, free: 31.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.3003, allocations: 50.45 kB / 435.2 MB, free: 31.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.3003, allocations: 374.2 kB / 435.5 MB, free: 31.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.3008, allocations: 188.2 kB / 435.7 MB, free: 31.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.3013, allocations: 323.1 kB / 436 MB, free: 31.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/0.3021, allocations: 0.606 MB / 436.7 MB, free: 31.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3021, allocations: 0 / 436.7 MB, free: 31.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001153/0.3033, allocations: 0.6824 MB / 437.3 MB, free: 30.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.66e-05/0.3034, allocations: 270.3 kB / 437.6 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3034, allocations: 7.406 kB / 437.6 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.3036, allocations: 27.31 kB / 437.6 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.3039, allocations: 103 kB / 437.7 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006589/0.3046, allocations: 1.285 MB / 439 MB, free: 29.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.3051, allocations: 101 kB / 439.1 MB, free: 29.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.3051, allocations: 23.84 kB / 439.1 MB, free: 29.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.3051, allocations: 8.094 kB / 439.1 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/0.3061, allocations: 0.5808 MB / 439.7 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3062, allocations: 6.844 kB / 439.7 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.363e-05/0.3062, allocations: 25.3 kB / 439.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.3066, allocations: 98.48 kB / 439.9 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005507/0.3071, allocations: 1.278 MB / 441.1 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.3075, allocations: 89.28 kB / 441.2 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.3076, allocations: 22.59 kB / 441.2 MB, free: 27.83 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.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.0002975/0.3079, allocations: 394.3 kB / 441.6 MB, free: 27.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.308, allocations: 68.19 kB / 441.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.309, allocations: 0.571 MB / 442.3 MB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3091, allocations: 10.84 kB / 442.3 MB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3091, allocations: 3.422 kB / 442.3 MB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3091, allocations: 2.672 kB / 442.3 MB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.3108, allocations: 1.33 MB / 443.6 MB, free: 27.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3108, allocations: 0 / 443.6 MB, free: 27.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.3111, allocations: 80.59 kB / 443.7 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-05/0.3112, allocations: 21.55 kB / 443.7 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.3112, allocations: 12.59 kB / 443.7 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005351/0.3118, allocations: 1.275 MB / 445 MB, free: 25.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3118, allocations: 0 / 445 MB, free: 25.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.3133, allocations: 0.8778 MB / 445.9 MB, free: 25.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.3135, allocations: 192.7 kB / 446.1 MB, free: 25.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.3136, allocations: 14.47 kB / 446.1 MB, free: 25.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.314, allocations: 55.72 kB / 446.1 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.3141, allocations: 37.48 kB / 446.2 MB, free: 25.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.3141, allocations: 8.875 kB / 446.2 MB, free: 25.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005428/0.3147, allocations: 0.5692 MB / 446.7 MB, free: 24.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3147, allocations: 0 / 446.7 MB, free: 24.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007629/0.3155, allocations: 322.3 kB / 447.1 MB, free: 24.87 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: 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.002388/0.3179, allocations: 0.6498 MB / 447.7 MB, free: 24.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.3196, allocations: 1.272 MB / 449 MB, free: 23.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3196, allocations: 0 / 449 MB, free: 23.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005478/0.3202, allocations: 461.2 kB / 449.4 MB, free: 23.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006815/0.3208, allocations: 119.4 kB / 449.5 MB, free: 23.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.3228, allocations: 1.804 MB / 451.4 MB, free: 22.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3232, allocations: 0.9523 MB / 452.3 MB, free: 21.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002701/0.3235, allocations: 86.55 kB / 452.4 MB, free: 21.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.3236, allocations: 48.72 kB / 452.4 MB, free: 21.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3236, allocations: 0 / 452.4 MB, free: 21.64 MB / 350.1 MB Notification: Performance of Templates: time 0.01281/0.3364, allocations: 8.297 MB / 460.7 MB, free: 20.94 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe 2>&1)