Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.003354/0.003354, allocations: 179.8 kB / 7.464 MB, free: 2.484 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.294/1.294, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0009382/0.0009382, allocations: 97.36 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4623/0.4623, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/9.117e-06, allocations: 0 / 485.4 MB, free: 3.633 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2873, allocations: 69.49 MB / 0.5419 GB, free: 20.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.4096, allocations: 103.2 MB / 0.6427 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.4099, allocations: 79.95 kB / 0.6427 GB, free: 0.625 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08897/0.4988, allocations: 31.64 MB / 0.6736 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.28e-05/0.4989, allocations: 24 kB / 0.6737 GB, free: 0.7305 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.1576/0.6565, allocations: 1.598 MB / 0.6752 GB, free: 141.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.6565, allocations: 11.69 kB / 0.6752 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.6589, allocations: 397.1 kB / 0.6756 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.6606, allocations: 0.8129 MB / 0.6764 GB, free: 141.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.6608, allocations: 204.1 kB / 0.6766 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.6611, allocations: 42.75 kB / 0.6766 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001374/0.6625, allocations: 0.7556 MB / 0.6774 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.6637, allocations: 0.6473 MB / 0.678 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.6637, allocations: 0 / 0.678 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.6638, allocations: 0 / 0.678 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.6638, allocations: 22.34 kB / 0.678 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004431/0.6682, allocations: 2.671 MB / 0.6806 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.6696, allocations: 0.7531 MB / 0.6814 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006206/0.6702, allocations: 0.5029 MB / 0.6819 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.6703, allocations: 17.86 kB / 0.6819 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.6703, allocations: 40.97 kB / 0.6819 GB, free: 140.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.214e-06/0.6703, allocations: 0 / 0.6819 GB, free: 140.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.009286/0.6796, allocations: 3.352 MB / 0.6852 GB, free: 140.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.6797, allocations: 59.88 kB / 0.6852 GB, free: 140.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009807/0.6806, allocations: 0.863 MB / 0.6861 GB, free: 140 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.6807, allocations: 25.7 kB / 0.6861 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.6808, allocations: 254.4 kB / 0.6864 GB, free: 139.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.6811, allocations: 327.7 kB / 0.6867 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.6812, allocations: 0 / 0.6867 GB, free: 139.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.6812, allocations: 336 kB / 0.687 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.6818, allocations: 395.1 kB / 0.6874 GB, free: 139.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.6824, allocations: 403.4 kB / 0.6878 GB, free: 139.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.6832, allocations: 450.4 kB / 0.6882 GB, free: 139.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6832, allocations: 0 / 0.6882 GB, free: 139.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002424/0.6856, allocations: 1.438 MB / 0.6896 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.6856, allocations: 3.875 kB / 0.6896 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6856, allocations: 0 / 0.6896 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006795/0.6924, allocations: 1.91 MB / 0.6915 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/0.693, allocations: 108.6 kB / 0.6916 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/0.6968, allocations: 2.197 MB / 0.6937 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.6983, allocations: 151.3 kB / 0.6938 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.592e-05/0.6984, allocations: 24.39 kB / 0.6939 GB, free: 138.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.6985, allocations: 117.5 kB / 0.694 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.6987, allocations: 117.2 kB / 0.6941 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009805/0.7085, allocations: 3.456 MB / 0.6975 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.7086, allocations: 9.875 kB / 0.6975 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.7086, allocations: 1.094 kB / 0.6975 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.7086, allocations: 3.656 kB / 0.6975 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.71, allocations: 1.111 MB / 0.6986 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.7101, allocations: 3.469 kB / 0.6986 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/0.7109, allocations: 113.8 kB / 0.6987 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004767/0.7157, allocations: 1.373 MB / 0.7 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.944e-05/0.7158, allocations: 7.094 kB / 0.7 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/0.7291, allocations: 5.786 MB / 0.7057 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.7292, allocations: 8.062 kB / 0.7057 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01117/0.7403, allocations: 4.125 MB / 0.7097 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.7407, allocations: 233 kB / 0.7099 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.741, allocations: 3.031 kB / 0.7099 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.7423, allocations: 111.9 kB / 0.71 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.7425, allocations: 102.6 kB / 0.7101 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.143e-05/0.7426, allocations: 18.91 kB / 0.7102 GB, free: 135 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008406/0.7435, allocations: 0.6805 MB / 0.7108 GB, free: 134.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000927/0.7444, allocations: 321 kB / 0.7111 GB, free: 134.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002566/0.7447, allocations: 147.4 kB / 0.7113 GB, free: 134.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004916/0.7496, allocations: 1.625 MB / 0.7129 GB, free: 134.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7496, allocations: 0 / 0.7129 GB, free: 134.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003588/0.7532, allocations: 1.191 MB / 0.714 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.7538, allocations: 82.11 kB / 0.7141 GB, free: 133.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.7578, allocations: 2.006 MB / 0.7161 GB, free: 132.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007595/0.7586, allocations: 1.15 MB / 0.7172 GB, free: 131.9 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7586, allocations: 0 / 0.7172 GB, free: 131.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02549/0.7841, allocations: 17.94 MB / 0.7347 GB, free: 130.9 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)