Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, 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.00195/0.00195, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1643/0.1643, allocations: 8.237 MB / 298.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 360.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1094, allocations: 51.3 MB / 411.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.00596/0.1154, allocations: 3.594 MB / 415.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1175, allocations: 1.01 MB / 416.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.1179, allocations: 4 kB / 416.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006638/0.1186, allocations: 315.1 kB / 416.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006237/0.1192, allocations: 239.2 kB / 416.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009961/0.1203, allocations: 318.8 kB / 417.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007715/0.121, allocations: 0.5618 MB / 417.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004224/0.1215, allocations: 250.3 kB / 418 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.1218, allocations: 251.1 kB / 418.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.1222, allocations: 338.8 kB / 418.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.1223, allocations: 48 kB / 418.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.1225, allocations: 108 kB / 418.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.1228, allocations: 235.2 kB / 419 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.1232, allocations: 333.9 kB / 419.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009292/0.1242, allocations: 0.833 MB / 420.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1242, allocations: 0 / 420.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.1242, allocations: 4 kB / 420.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1242, allocations: 0 / 420.1 MB, free: 2.586 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001965/0.1262, allocations: 1.126 MB / 421.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.948e-05/0.1263, allocations: 15.89 kB / 421.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.1264, allocations: 87.81 kB / 421.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000845/0.1273, allocations: 0.5817 MB / 421.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.1273, allocations: 32.94 kB / 422 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.1274, allocations: 36 kB / 422 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000816/0.1282, allocations: 407.9 kB / 422.4 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.1282, allocations: 7.875 kB / 422.4 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.1283, allocations: 16 kB / 422.4 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.1283, allocations: 8 kB / 422.4 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1581/0.2864, allocations: 286.7 kB / 422.7 MB, free: 44.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.2886, allocations: 1.67 MB / 424.4 MB, free: 43.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000704/0.2893, allocations: 302.5 kB / 424.7 MB, free: 43.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.2896, allocations: 112.2 kB / 424.8 MB, free: 43.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.2896, allocations: 9.75 kB / 424.8 MB, free: 43.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/0.2901, allocations: 168 kB / 425 MB, free: 43.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.405e-06/0.2901, allocations: 0 / 425 MB, free: 43.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.00149/0.2916, allocations: 0.597 MB / 425.6 MB, free: 43.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.2916, allocations: 55.67 kB / 425.6 MB, free: 43.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009567/0.2926, allocations: 1.125 MB / 426.7 MB, free: 43.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.2926, allocations: 36.7 kB / 426.8 MB, free: 43.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.2928, allocations: 389.3 kB / 427.2 MB, free: 42.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.2929, allocations: 85.27 kB / 427.2 MB, free: 42.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.293, allocations: 55.42 kB / 427.3 MB, free: 42.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.203e-05/0.293, allocations: 316.4 kB / 427.6 MB, free: 42.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.2933, allocations: 106 kB / 427.7 MB, free: 42.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.2936, allocations: 163.6 kB / 427.9 MB, free: 42.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.2941, allocations: 304 kB / 428.2 MB, free: 42.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2941, allocations: 0.6875 kB / 428.2 MB, free: 42.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000822/0.295, allocations: 472.1 kB / 428.6 MB, free: 41.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.295, allocations: 34.83 kB / 428.7 MB, free: 41.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.295, allocations: 3.375 kB / 428.7 MB, free: 41.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.2953, allocations: 63.09 kB / 428.7 MB, free: 41.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.2955, allocations: 51.16 kB / 428.8 MB, free: 41.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.2968, allocations: 1.795 MB / 430.6 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.2971, allocations: 41.34 kB / 430.6 MB, free: 40.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.2972, allocations: 13.25 kB / 430.6 MB, free: 40.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002628/0.2974, allocations: 286.9 kB / 430.9 MB, free: 40.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.2975, allocations: 71.31 kB / 431 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008348/0.2983, allocations: 408.8 kB / 431.4 MB, free: 39.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2984, allocations: 3.891 kB / 431.4 MB, free: 39.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.2984, allocations: 0 / 431.4 MB, free: 39.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2984, allocations: 6.484 kB / 431.4 MB, free: 39.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.2988, allocations: 0.5454 MB / 431.9 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2988, allocations: 0 / 431.9 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.2991, allocations: 46.95 kB / 432 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/0.2992, allocations: 63.11 kB / 432 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.2993, allocations: 7.25 kB / 432 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.3005, allocations: 1.792 MB / 433.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3005, allocations: 3.125 kB / 433.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3015, allocations: 0.5217 MB / 434.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.3016, allocations: 161 kB / 434.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.761e-05/0.3017, allocations: 6.812 kB / 434.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3019, allocations: 19.34 kB / 434.5 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.302, allocations: 33.91 kB / 434.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3021, allocations: 7.281 kB / 434.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007213/0.3028, allocations: 0.8219 MB / 435.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3028, allocations: 0 / 435.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004929/0.3033, allocations: 127.2 kB / 435.5 MB, free: 37.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002257/0.3056, allocations: 0.5998 MB / 436.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009168/0.3065, allocations: 459.6 kB / 436.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3065, allocations: 0 / 436.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.3069, allocations: 266.9 kB / 436.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.3074, allocations: 97.16 kB / 436.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.3093, allocations: 1.725 MB / 438.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3096, allocations: 0.9699 MB / 439.6 MB, free: 34.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.3098, allocations: 77.11 kB / 439.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.3099, allocations: 40.34 kB / 439.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3099, allocations: 0 / 439.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of Templates: time 0.01088/0.3208, allocations: 6.379 MB / 446.1 MB, free: 34.22 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1)