Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003424/0.003424, allocations: 178.6 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 221.4 MB / 229.3 MB, free: 3.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009381/0.0009382, allocations: 89.98 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4066/0.4066, allocations: 78.07 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.29e-06/5.32e-06, allocations: 0 / 484.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2416, allocations: 69.35 MB / 0.5407 GB, free: 21.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.3554, allocations: 103.3 MB / 0.6416 GB, free: 1.527 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.3556, allocations: 71.95 kB / 0.6417 GB, free: 1.457 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3145/0.6701, allocations: 50 MB / 0.6905 GB, free: 105.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.511e-05/0.6702, allocations: 26.16 kB / 0.6905 GB, free: 105.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004788/0.675, allocations: 1.972 MB / 0.6924 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.6751, allocations: 8.781 kB / 0.6924 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.6778, allocations: 484.9 kB / 0.6929 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.6796, allocations: 1.084 MB / 0.694 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.6798, allocations: 224.4 kB / 0.6942 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.68, allocations: 64.84 kB / 0.6942 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001784/0.6818, allocations: 0.9763 MB / 0.6952 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.6833, allocations: 0.8367 MB / 0.696 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.6834, allocations: 0 / 0.696 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.6835, allocations: 0 / 0.696 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.6835, allocations: 23.53 kB / 0.696 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007451/0.691, allocations: 4.281 MB / 0.7002 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.6928, allocations: 0.997 MB / 0.7012 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.6939, allocations: 0.6315 MB / 0.7018 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.694, allocations: 28.08 kB / 0.7018 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.6941, allocations: 44.66 kB / 0.7019 GB, free: 100.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=130): time 2.605e-06/0.6941, allocations: 0 / 0.7019 GB, free: 100.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=130): time 0.01208/0.7061, allocations: 3.664 MB / 0.7054 GB, free: 99.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.7062, allocations: 68.59 kB / 0.7055 GB, free: 99.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.7078, allocations: 1.239 MB / 0.7067 GB, free: 99.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.85e-05/0.7079, allocations: 25.7 kB / 0.7067 GB, free: 99.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.7081, allocations: 337.5 kB / 0.7071 GB, free: 98.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/0.7086, allocations: 459.6 kB / 0.7075 GB, free: 98.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/0.7087, allocations: 0 / 0.7075 GB, free: 98.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.7088, allocations: 357 kB / 0.7078 GB, free: 98.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009656/0.7097, allocations: 0.4968 MB / 0.7083 GB, free: 97.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009917/0.7107, allocations: 0.5975 MB / 0.7089 GB, free: 97.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.712, allocations: 0.5867 MB / 0.7095 GB, free: 97.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.712, allocations: 0 / 0.7095 GB, free: 97.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003884/0.7159, allocations: 1.883 MB / 0.7113 GB, free: 96.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.7159, allocations: 5.031 kB / 0.7113 GB, free: 96.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7159, allocations: 2.688 kB / 0.7113 GB, free: 96.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009493/0.7254, allocations: 2.305 MB / 0.7136 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008601/0.7263, allocations: 176.2 kB / 0.7137 GB, free: 95.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/0.7316, allocations: 2.623 MB / 0.7163 GB, free: 92.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.7335, allocations: 156.8 kB / 0.7165 GB, free: 92.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.7337, allocations: 46.14 kB / 0.7165 GB, free: 92.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.0002414/0.7339, allocations: 125.3 kB / 0.7166 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.7343, allocations: 169.8 kB / 0.7168 GB, free: 92.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/0.745, allocations: 3.763 MB / 0.7205 GB, free: 88.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.7451, allocations: 12 kB / 0.7205 GB, free: 88.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7451, allocations: 0 / 0.7205 GB, free: 88.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.7451, allocations: 7.969 kB / 0.7205 GB, free: 88.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.7579, allocations: 5.607 MB / 0.726 GB, free: 83.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.7579, allocations: 0 / 0.726 GB, free: 83.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.7592, allocations: 167.8 kB / 0.7261 GB, free: 82.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005079/0.7643, allocations: 1.461 MB / 0.7275 GB, free: 81.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/0.7645, allocations: 11.91 kB / 0.7276 GB, free: 81.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/0.7785, allocations: 6.022 MB / 0.7334 GB, free: 75.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7785, allocations: 0 / 0.7334 GB, free: 75.27 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01235/0.7909, allocations: 4.653 MB / 0.738 GB, free: 70.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/0.7915, allocations: 310.5 kB / 0.7383 GB, free: 70.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/0.7919, allocations: 4 kB / 0.7383 GB, free: 70.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/0.7937, allocations: 87.92 kB / 0.7384 GB, free: 70.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.794, allocations: 113.1 kB / 0.7385 GB, free: 70.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.7941, allocations: 35.98 kB / 0.7385 GB, free: 70.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001269/0.7954, allocations: 0.9644 MB / 0.7394 GB, free: 69.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001167/0.7966, allocations: 423.4 kB / 0.7399 GB, free: 68.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.PSIkq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002937/0.7969, allocations: 167.1 kB / 0.74 GB, free: 68.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006163/0.803, allocations: 2.006 MB / 0.742 GB, free: 66.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.8031, allocations: 4 kB / 0.742 GB, free: 66.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004136/0.8072, allocations: 1.407 MB / 0.7433 GB, free: 65.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007337/0.8079, allocations: 113.4 kB / 0.7435 GB, free: 64.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/0.8135, allocations: 2.929 MB / 0.7463 GB, free: 62.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000968/0.8145, allocations: 1.374 MB / 0.7477 GB, free: 60.68 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/0.8145, allocations: 0 / 0.7477 GB, free: 60.68 MB / 490.7 MB Notification: Performance of Templates: time 0.03242/0.847, allocations: 23.49 MB / 0.7706 GB, free: 37.31 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)