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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) [: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.00411/0.004111, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.382/1.382, allocations: 221.4 MB / 229.3 MB, free: 3 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.0009943/0.0009942, allocations: 106.7 kB / 280.1 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4577/0.4577, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1626/0.6204, allocations: 75.65 MB / 485.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.997, allocations: 69.51 MB / 0.542 GB, free: 20.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/1.135, allocations: 103.2 MB / 0.6428 GB, free: 0.668 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/1.136, allocations: 79.97 kB / 0.6428 GB, free: 0.5898 MB / 458.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.3084/1.444, allocations: 33.27 MB / 0.6753 GB, free: 141.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.444, allocations: 10.34 kB / 0.6753 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/1.447, allocations: 399.8 kB / 0.6757 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/1.449, allocations: 0.813 MB / 0.6765 GB, free: 141.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/1.449, allocations: 200.5 kB / 0.6767 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/1.45, allocations: 37.34 kB / 0.6767 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001483/1.451, allocations: 0.7597 MB / 0.6775 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/1.452, allocations: 0.6451 MB / 0.6781 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/1.452, allocations: 2.812 kB / 0.6781 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.723e-05/1.452, allocations: 7.406 kB / 0.6781 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/1.452, allocations: 19.22 kB / 0.6781 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0051/1.458, allocations: 2.676 MB / 0.6807 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/1.459, allocations: 0.7495 MB / 0.6815 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000739/1.46, allocations: 0.4977 MB / 0.682 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/1.46, allocations: 22.84 kB / 0.682 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/1.46, allocations: 39.12 kB / 0.682 GB, free: 140.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 4.097e-06/1.46, allocations: 0 / 0.682 GB, free: 140.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01017/1.47, allocations: 3.35 MB / 0.6853 GB, free: 140.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/1.47, allocations: 66.56 kB / 0.6854 GB, free: 140.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/1.472, allocations: 0.8579 MB / 0.6862 GB, free: 140 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003431/1.473, allocations: 25.7 kB / 0.6862 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/1.473, allocations: 248.9 kB / 0.6865 GB, free: 139.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007707/1.474, allocations: 335.5 kB / 0.6868 GB, free: 139.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/1.474, allocations: 3.812 kB / 0.6868 GB, free: 139.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/1.474, allocations: 330.5 kB / 0.6871 GB, free: 139.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007107/1.475, allocations: 398.8 kB / 0.6875 GB, free: 139.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/1.475, allocations: 398.5 kB / 0.6879 GB, free: 139.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/1.476, allocations: 446.2 kB / 0.6883 GB, free: 139.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.476, allocations: 0 / 0.6883 GB, free: 139.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003096/1.48, allocations: 1.44 MB / 0.6897 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.48, allocations: 3.969 kB / 0.6897 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.48, allocations: 7.125 kB / 0.6897 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007086/1.487, allocations: 1.906 MB / 0.6916 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/1.487, allocations: 115.2 kB / 0.6917 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/1.492, allocations: 2.195 MB / 0.6938 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/1.493, allocations: 145.5 kB / 0.694 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/1.493, allocations: 30.47 kB / 0.694 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.0001894/1.493, allocations: 118.1 kB / 0.6941 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/1.494, allocations: 119.9 kB / 0.6942 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009617/1.503, allocations: 3.444 MB / 0.6976 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/1.503, allocations: 9.969 kB / 0.6976 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.503, allocations: 4 kB / 0.6976 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.94e-05/1.503, allocations: 7.547 kB / 0.6976 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.505, allocations: 1.116 MB / 0.6987 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/1.505, allocations: 0 / 0.6987 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007987/1.506, allocations: 112.5 kB / 0.6988 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004727/1.511, allocations: 1.361 MB / 0.7001 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/1.511, allocations: 11.11 kB / 0.7001 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/1.525, allocations: 5.788 MB / 0.7058 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.525, allocations: 5.531 kB / 0.7058 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01184/1.537, allocations: 4.133 MB / 0.7098 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01509/1.552, allocations: 5.174 MB / 0.7149 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/1.552, allocations: 235.9 kB / 0.7151 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/1.553, allocations: 6.906 kB / 0.7151 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/1.554, allocations: 109.6 kB / 0.7152 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003393/1.555, allocations: 99.41 kB / 0.7153 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.555, allocations: 29.23 kB / 0.7153 GB, free: 133.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001106/1.556, allocations: 0.6723 MB / 0.716 GB, free: 132.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00184/1.558, allocations: 332.1 kB / 0.7163 GB, free: 132.8 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.0003425/1.558, allocations: 146 kB / 0.7164 GB, free: 132.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00482/1.563, allocations: 1.618 MB / 0.718 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.563, allocations: 0 / 0.718 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/1.567, allocations: 1.198 MB / 0.7192 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000875/1.568, allocations: 83.39 kB / 0.7193 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004792/1.572, allocations: 2.023 MB / 0.7213 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008251/1.573, allocations: 1.19 MB / 0.7224 GB, free: 130 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/1.573, allocations: 3.562 kB / 0.7224 GB, free: 130 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)