Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_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.003254/0.003254, allocations: 179.9 kB / 7.457 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.386/1.386, allocations: 221.4 MB / 229.3 MB, free: 3.133 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.0009661/0.000966, allocations: 96.28 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4547/0.4547, allocations: 78.91 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1482/0.603, allocations: 75.64 MB / 485.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.953, allocations: 69.51 MB / 0.5419 GB, free: 21.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/1.085, allocations: 103.9 MB / 0.6435 GB, free: 15.97 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/1.086, allocations: 75.91 kB / 0.6435 GB, free: 15.9 MB / 474.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.3818/1.467, allocations: 46.71 MB / 0.6891 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/1.467, allocations: 7.469 kB / 0.6891 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/1.47, allocations: 482.9 kB / 0.6896 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/1.471, allocations: 1.08 MB / 0.6907 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/1.472, allocations: 230.5 kB / 0.6909 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/1.472, allocations: 58.91 kB / 0.6909 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001589/1.473, allocations: 0.9809 MB / 0.6919 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/1.475, allocations: 0.8402 MB / 0.6927 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.475, allocations: 2.625 kB / 0.6927 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.244e-05/1.475, allocations: 7.203 kB / 0.6927 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/1.475, allocations: 18.75 kB / 0.6927 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006596/1.482, allocations: 4.28 MB / 0.6969 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/1.483, allocations: 1.003 MB / 0.6979 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008185/1.484, allocations: 0.6281 MB / 0.6985 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/1.484, allocations: 32.45 kB / 0.6985 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/1.484, allocations: 46.53 kB / 0.6986 GB, free: 100.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=130): time 2.926e-06/1.484, allocations: 0 / 0.6986 GB, free: 100.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=130): time 0.01175/1.496, allocations: 3.656 MB / 0.7022 GB, free: 99.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.496, allocations: 68.84 kB / 0.7022 GB, free: 99.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/1.498, allocations: 1.234 MB / 0.7034 GB, free: 99.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000279/1.499, allocations: 25.7 kB / 0.7035 GB, free: 99.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/1.499, allocations: 339.8 kB / 0.7038 GB, free: 99.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006756/1.5, allocations: 453.6 kB / 0.7042 GB, free: 98.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/1.5, allocations: 0 / 0.7042 GB, free: 98.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.641e-05/1.5, allocations: 359.7 kB / 0.7046 GB, free: 98.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009463/1.501, allocations: 0.5033 MB / 0.705 GB, free: 98.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009773/1.502, allocations: 0.5942 MB / 0.7056 GB, free: 97.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/1.503, allocations: 0.5877 MB / 0.7062 GB, free: 97.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.503, allocations: 0 / 0.7062 GB, free: 97.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003593/1.507, allocations: 1.88 MB / 0.708 GB, free: 96.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.507, allocations: 8.5 kB / 0.708 GB, free: 96.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.507, allocations: 10.05 kB / 0.7081 GB, free: 96.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008721/1.515, allocations: 2.297 MB / 0.7103 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009391/1.516, allocations: 174.4 kB / 0.7105 GB, free: 96.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005157/1.521, allocations: 2.641 MB / 0.713 GB, free: 94.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/1.524, allocations: 157.3 kB / 0.7132 GB, free: 94.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/1.524, allocations: 47.45 kB / 0.7132 GB, free: 94.24 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.0002785/1.524, allocations: 112.6 kB / 0.7133 GB, free: 94.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006218/1.525, allocations: 173.8 kB / 0.7135 GB, free: 93.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.535, allocations: 3.764 MB / 0.7172 GB, free: 90.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/1.535, allocations: 16 kB / 0.7172 GB, free: 90.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.535, allocations: 0 / 0.7172 GB, free: 90.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/1.535, allocations: 7.078 kB / 0.7172 GB, free: 90.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/1.549, allocations: 5.598 MB / 0.7227 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.549, allocations: 0 / 0.7227 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/1.55, allocations: 171.7 kB / 0.7228 GB, free: 85.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004688/1.555, allocations: 1.453 MB / 0.7243 GB, free: 84.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/1.555, allocations: 19.89 kB / 0.7243 GB, free: 84.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/1.568, allocations: 6.015 MB / 0.7302 GB, free: 77.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.569, allocations: 7.984 kB / 0.7302 GB, free: 77.96 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0124/1.581, allocations: 4.659 MB / 0.7347 GB, free: 73.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01322/1.594, allocations: 5.877 MB / 0.7404 GB, free: 67.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008654/1.595, allocations: 310.5 kB / 0.7407 GB, free: 67.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005569/1.596, allocations: 0 / 0.7407 GB, free: 67.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/1.598, allocations: 91.92 kB / 0.7408 GB, free: 67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/1.598, allocations: 117.1 kB / 0.7409 GB, free: 66.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.598, allocations: 35.98 kB / 0.741 GB, free: 66.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001457/1.599, allocations: 0.9605 MB / 0.7419 GB, free: 65.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002063/1.601, allocations: 431.5 kB / 0.7423 GB, free: 65.47 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.0003474/1.602, allocations: 166.1 kB / 0.7425 GB, free: 65.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005834/1.608, allocations: 2.01 MB / 0.7444 GB, free: 63.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.608, allocations: 4 kB / 0.7445 GB, free: 63.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003788/1.611, allocations: 1.4 MB / 0.7458 GB, free: 61.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/1.613, allocations: 130.9 kB / 0.7459 GB, free: 61.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/1.619, allocations: 2.948 MB / 0.7488 GB, free: 58.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/1.62, allocations: 1.463 MB / 0.7503 GB, free: 57.36 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/1.62, allocations: 0 / 0.7503 GB, free: 57.36 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)