Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.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.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 90.52 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.008789/0.008789, allocations: 174.1 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1475/0.1475, allocations: 7.676 MB / 299.1 MB, free: 3.426 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 8 kB / 362 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.09583, allocations: 52.16 MB / 414.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange3): time 0.005594/0.1015, allocations: 4.401 MB / 418.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003797/0.1053, allocations: 2.488 MB / 421 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.1056, allocations: 12 kB / 421.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.1061, allocations: 199 kB / 421.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005679/0.1067, allocations: 242.7 kB / 421.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009782/0.1077, allocations: 491.3 kB / 422 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009871/0.1087, allocations: 0.9468 MB / 422.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006298/0.1093, allocations: 443.1 kB / 423.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/0.1097, allocations: 294.6 kB / 423.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004771/0.1102, allocations: 362.1 kB / 424 MB, free: 256 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.46e-05/0.1103, allocations: 40 kB / 424 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.1105, allocations: 123.9 kB / 424.1 MB, free: 92 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1625/0.273, allocations: 160.9 kB / 424.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000523/0.2736, allocations: 408.8 kB / 424.7 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.2747, allocations: 1.15 MB / 425.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2747, allocations: 0 / 425.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2747, allocations: 0 / 425.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.2747, allocations: 0 / 425.9 MB, free: 35.28 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.001631/0.2763, allocations: 1.133 MB / 427 MB, free: 34.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2764, allocations: 7.469 kB / 427 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.2765, allocations: 109 kB / 427.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.2771, allocations: 0.5833 MB / 427.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.2772, allocations: 59.81 kB / 427.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.2773, allocations: 73.72 kB / 427.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2785, allocations: 0.7215 MB / 428.5 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.2786, allocations: 3.844 kB / 428.5 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-05/0.2787, allocations: 27.53 kB / 428.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.2787, allocations: 19.94 kB / 428.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2798, allocations: 0.5377 MB / 429.1 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.283, allocations: 2.656 MB / 431.8 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009173/0.2839, allocations: 487.5 kB / 432.3 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.2843, allocations: 199.2 kB / 432.5 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.2844, allocations: 6 kB / 432.5 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006031/0.285, allocations: 289.1 kB / 432.7 MB, free: 32.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.285, allocations: 0 / 432.7 MB, free: 32.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001689/0.2867, allocations: 0.8027 MB / 433.5 MB, free: 32.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.2868, allocations: 194.1 kB / 433.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/0.2876, allocations: 0.7945 MB / 434.5 MB, free: 32.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.2876, allocations: 38.08 kB / 434.6 MB, free: 32.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.2878, allocations: 400.4 kB / 435 MB, free: 32.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.2879, allocations: 117.5 kB / 435.1 MB, free: 32.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.288, allocations: 48.06 kB / 435.1 MB, free: 32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.2881, allocations: 378.6 kB / 435.5 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.2885, allocations: 191.6 kB / 435.7 MB, free: 31.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.2889, allocations: 308.9 kB / 436 MB, free: 31.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008631/0.2898, allocations: 0.6114 MB / 436.6 MB, free: 31.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2898, allocations: 0 / 436.6 MB, free: 31.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001113/0.2909, allocations: 0.6924 MB / 437.3 MB, free: 31.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/0.291, allocations: 269.6 kB / 437.5 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2911, allocations: 3.406 kB / 437.5 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.2912, allocations: 28.45 kB / 437.6 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.2916, allocations: 101.4 kB / 437.7 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006351/0.2922, allocations: 1.28 MB / 439 MB, free: 29.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.2926, allocations: 100 kB / 439 MB, free: 29.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.2927, allocations: 20.66 kB / 439.1 MB, free: 29.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.369e-06/0.2927, allocations: 6.531 kB / 439.1 MB, free: 29.49 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009619/0.2937, allocations: 0.5915 MB / 439.7 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2937, allocations: 3.375 kB / 439.7 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.105e-05/0.2937, allocations: 26.69 kB / 439.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.2941, allocations: 100.7 kB / 439.8 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005292/0.2946, allocations: 1.275 MB / 441.1 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.295, allocations: 86.09 kB / 441.2 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.295, allocations: 28.98 kB / 441.2 MB, free: 28.09 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.0003154/0.2954, allocations: 391 kB / 441.6 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.2954, allocations: 70.56 kB / 441.6 MB, free: 27.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.2965, allocations: 0.5695 MB / 442.2 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2965, allocations: 7.125 kB / 442.2 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2965, allocations: 3.281 kB / 442.2 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2965, allocations: 7.281 kB / 442.2 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.2982, allocations: 1.318 MB / 443.5 MB, free: 27.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2982, allocations: 3.938 kB / 443.5 MB, free: 27.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.2985, allocations: 79.98 kB / 443.6 MB, free: 27.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.634e-05/0.2986, allocations: 20.61 kB / 443.6 MB, free: 27.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.2987, allocations: 13.06 kB / 443.7 MB, free: 27.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005441/0.2992, allocations: 1.274 MB / 444.9 MB, free: 26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2992, allocations: 0 / 444.9 MB, free: 26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.3007, allocations: 0.8774 MB / 445.8 MB, free: 25.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.3009, allocations: 199.3 kB / 446 MB, free: 25.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.84e-05/0.301, allocations: 6.844 kB / 446 MB, free: 25.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.3014, allocations: 64.19 kB / 446.1 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3015, allocations: 33.45 kB / 446.1 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.3015, allocations: 15.8 kB / 446.1 MB, free: 25.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005588/0.3021, allocations: 0.5582 MB / 446.7 MB, free: 25.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3021, allocations: 0 / 446.7 MB, free: 25.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007824/0.3029, allocations: 322.4 kB / 447 MB, free: 25.12 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.002362/0.3053, allocations: 0.659 MB / 447.6 MB, free: 24.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.307, allocations: 1.271 MB / 448.9 MB, free: 24.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3071, allocations: 3.25 kB / 448.9 MB, free: 24.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005599/0.3076, allocations: 452.4 kB / 449.4 MB, free: 23.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006728/0.3083, allocations: 114.4 kB / 449.5 MB, free: 23.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.3103, allocations: 1.817 MB / 451.3 MB, free: 22.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3106, allocations: 0.9558 MB / 452.2 MB, free: 21.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.3109, allocations: 82.84 kB / 452.3 MB, free: 21.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.311, allocations: 42.53 kB / 452.4 MB, free: 21.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.311, allocations: 0 / 452.4 MB, free: 21.9 MB / 350.1 MB Notification: Performance of Templates: time 0.01246/0.3235, allocations: 8.17 MB / 460.5 MB, free: 21.22 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange3.pipe 2>&1)