Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00165/0.00165, allocations: 188.2 kB / 16.25 MB, free: 6.625 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.387/1.387, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1312/0.1312, allocations: 8.029 MB / 298.1 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 360.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1141, allocations: 51.2 MB / 411.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005174/0.1193, allocations: 4.153 MB / 415.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1213, allocations: 1.399 MB / 416.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.1216, allocations: 8 kB / 416.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.122, allocations: 123.3 kB / 417 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.1225, allocations: 167 kB / 417.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005852/0.123, allocations: 343.2 kB / 417.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006914/0.1238, allocations: 0.834 MB / 418.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005853/0.1243, allocations: 0.492 MB / 418.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.1246, allocations: 326.8 kB / 419.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.125, allocations: 358.4 kB / 419.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.54e-05/0.1251, allocations: 100 kB / 419.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1252, allocations: 123.9 kB / 419.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.1254, allocations: 207.4 kB / 419.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002996/0.1257, allocations: 406.1 kB / 420.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007925/0.1265, allocations: 1.016 MB / 421.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1265, allocations: 0 / 421.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1265, allocations: 0 / 421.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.1266, allocations: 0 / 421.3 MB, free: 1.367 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001602/0.1282, allocations: 1.116 MB / 422.4 MB, free: 188 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1282, allocations: 12.03 kB / 422.5 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.1283, allocations: 84 kB / 422.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1541/0.2825, allocations: 498.4 kB / 423 MB, free: 44.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.2826, allocations: 55.5 kB / 423.1 MB, free: 44.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2827, allocations: 72.31 kB / 423.2 MB, free: 44.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.2839, allocations: 0.67 MB / 423.8 MB, free: 44.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.284, allocations: 0 / 423.8 MB, free: 44.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.284, allocations: 32.14 kB / 423.9 MB, free: 44.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.2841, allocations: 16.5 kB / 423.9 MB, free: 44.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.2851, allocations: 494.1 kB / 424.4 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/0.2881, allocations: 2.582 MB / 426.9 MB, free: 43.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/0.2889, allocations: 426.9 kB / 427.3 MB, free: 42.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.2893, allocations: 172.2 kB / 427.5 MB, free: 42.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.2893, allocations: 3.391 kB / 427.5 MB, free: 42.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005372/0.2899, allocations: 256.2 kB / 427.8 MB, free: 42.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/0.2899, allocations: 0 / 427.8 MB, free: 42.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001344/0.2912, allocations: 0.6827 MB / 428.5 MB, free: 42.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2913, allocations: 142.3 kB / 428.6 MB, free: 42.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.2917, allocations: 0.5497 MB / 429.1 MB, free: 41.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.2918, allocations: 32.98 kB / 429.2 MB, free: 41.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.292, allocations: 346.4 kB / 429.5 MB, free: 41.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.292, allocations: 109.7 kB / 429.6 MB, free: 41.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.2922, allocations: 72.56 kB / 429.7 MB, free: 41.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.2923, allocations: 366.9 kB / 430 MB, free: 41.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.2926, allocations: 164.8 kB / 430.2 MB, free: 41.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.293, allocations: 256.1 kB / 430.5 MB, free: 40.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.2936, allocations: 0.5285 MB / 431 MB, free: 40.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2937, allocations: 0 / 431 MB, free: 40.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009075/0.2946, allocations: 0.5933 MB / 431.6 MB, free: 40.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.2946, allocations: 94.22 kB / 431.7 MB, free: 40.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2946, allocations: 8.438 kB / 431.7 MB, free: 40.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.2948, allocations: 20.78 kB / 431.7 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.2951, allocations: 82.02 kB / 431.8 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006771/0.2958, allocations: 1.387 MB / 433.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.2961, allocations: 82.5 kB / 433.2 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.2962, allocations: 17.16 kB / 433.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004168/0.2966, allocations: 311.4 kB / 433.6 MB, free: 38.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003038/0.2969, allocations: 250.2 kB / 433.8 MB, free: 38.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005968/0.2975, allocations: 0.5134 MB / 434.3 MB, free: 37.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.215e-06/0.2975, allocations: 6.672 kB / 434.3 MB, free: 37.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008282/0.2984, allocations: 0.5633 MB / 434.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.2984, allocations: 90.03 kB / 435 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2984, allocations: 3.219 kB / 435 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-05/0.2985, allocations: 25.27 kB / 435 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.2987, allocations: 79.5 kB / 435.1 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005542/0.2993, allocations: 1.388 MB / 436.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.2996, allocations: 60.06 kB / 436.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.2997, allocations: 17.47 kB / 436.6 MB, free: 36.14 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.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.000127/0.2998, allocations: 270.3 kB / 436.8 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.2999, allocations: 56.19 kB / 436.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008418/0.3007, allocations: 0.4918 MB / 437.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3007, allocations: 6.719 kB / 437.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.3007, allocations: 0 / 437.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3008, allocations: 0 / 437.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.3022, allocations: 1.146 MB / 438.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3022, allocations: 0.875 kB / 438.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.3025, allocations: 52.66 kB / 438.6 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.334e-05/0.3026, allocations: 25.58 kB / 438.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.3026, allocations: 10.75 kB / 438.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005388/0.3031, allocations: 1.381 MB / 440 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3032, allocations: 0 / 440 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.3043, allocations: 0.7713 MB / 440.8 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.3044, allocations: 128.2 kB / 440.9 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.3044, allocations: 7.344 kB / 440.9 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.3048, allocations: 40.94 kB / 440.9 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.3049, allocations: 36.3 kB / 441 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3049, allocations: 14.31 kB / 441 MB, free: 32.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003129/0.3052, allocations: 410.4 kB / 441.4 MB, free: 32.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3052, allocations: 0 / 441.4 MB, free: 32.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006158/0.3058, allocations: 273.3 kB / 441.6 MB, free: 32.69 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.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.0007864/0.3066, allocations: 372.2 kB / 442 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.3082, allocations: 1.172 MB / 443.2 MB, free: 31.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3082, allocations: 0 / 443.2 MB, free: 31.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004688/0.3086, allocations: 430.6 kB / 443.6 MB, free: 31.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.3091, allocations: 94.83 kB / 443.7 MB, free: 31.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.3108, allocations: 1.469 MB / 445.2 MB, free: 30.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.311, allocations: 0.8944 MB / 446.1 MB, free: 29.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.3112, allocations: 63.06 kB / 446.1 MB, free: 29.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.3113, allocations: 38.31 kB / 446.2 MB, free: 29.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3113, allocations: 0 / 446.2 MB, free: 29.75 MB / 350.1 MB Notification: Performance of Templates: time 0.009473/0.3208, allocations: 6.825 MB / 453 MB, free: 29.17 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)