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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_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.004801/0.004801, allocations: 183.6 kB / 7.46 MB, free: 2.512 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.301/1.301, allocations: 221.4 MB / 229.3 MB, free: 3.406 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.001039/0.001039, allocations: 100.7 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4798/0.4798, allocations: 78.07 MB / 409 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1572/0.6371, allocations: 75.48 MB / 484.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/1.012, allocations: 69.35 MB / 0.5408 GB, free: 21.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/1.174, allocations: 103.3 MB / 0.6417 GB, free: 1.516 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.174, allocations: 75.95 kB / 0.6417 GB, free: 1.441 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.4592/1.633, allocations: 52 MB / 0.6925 GB, free: 76.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/1.634, allocations: 11.09 kB / 0.6925 GB, free: 76.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/1.636, allocations: 482.7 kB / 0.693 GB, free: 76.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/1.639, allocations: 1.081 MB / 0.694 GB, free: 75.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002455/1.639, allocations: 231.3 kB / 0.6943 GB, free: 75.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/1.639, allocations: 57.81 kB / 0.6943 GB, free: 75.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001787/1.641, allocations: 0.9828 MB / 0.6953 GB, free: 75.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/1.643, allocations: 0.8381 MB / 0.6961 GB, free: 75.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/1.643, allocations: 0.9375 kB / 0.6961 GB, free: 75.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.436e-05/1.643, allocations: 2.469 kB / 0.6961 GB, free: 75.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/1.643, allocations: 19.66 kB / 0.6961 GB, free: 75.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008201/1.651, allocations: 4.276 MB / 0.7003 GB, free: 74.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/1.653, allocations: 1.004 MB / 0.7013 GB, free: 74.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/1.654, allocations: 0.6303 MB / 0.7019 GB, free: 74.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/1.655, allocations: 25.92 kB / 0.7019 GB, free: 74.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/1.655, allocations: 46.97 kB / 0.702 GB, free: 74.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=130): time 3.236e-06/1.655, allocations: 0 / 0.702 GB, free: 74.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=130): time 0.01216/1.667, allocations: 3.666 MB / 0.7055 GB, free: 74.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/1.667, allocations: 65.53 kB / 0.7056 GB, free: 73.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/1.669, allocations: 1.235 MB / 0.7068 GB, free: 73.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002781/1.67, allocations: 26.27 kB / 0.7068 GB, free: 73.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/1.67, allocations: 337.3 kB / 0.7072 GB, free: 73.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006639/1.671, allocations: 461.3 kB / 0.7076 GB, free: 73.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/1.671, allocations: 3.938 kB / 0.7076 GB, free: 73.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.015e-05/1.671, allocations: 353.1 kB / 0.7079 GB, free: 72.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/1.672, allocations: 0.5057 MB / 0.7084 GB, free: 72.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008735/1.672, allocations: 0.601 MB / 0.709 GB, free: 72.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/1.674, allocations: 0.5786 MB / 0.7096 GB, free: 72.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.674, allocations: 0 / 0.7096 GB, free: 72.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003452/1.677, allocations: 1.881 MB / 0.7114 GB, free: 70.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.677, allocations: 8 kB / 0.7114 GB, free: 70.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.677, allocations: 4 kB / 0.7114 GB, free: 70.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008767/1.686, allocations: 2.297 MB / 0.7137 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009625/1.687, allocations: 176.4 kB / 0.7138 GB, free: 69.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005208/1.692, allocations: 2.63 MB / 0.7164 GB, free: 67.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/1.694, allocations: 154 kB / 0.7166 GB, free: 67.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/1.695, allocations: 50.22 kB / 0.7166 GB, free: 67.47 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.0002485/1.695, allocations: 116.2 kB / 0.7167 GB, free: 67.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/1.695, allocations: 169.8 kB / 0.7169 GB, free: 67.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.706, allocations: 3.767 MB / 0.7206 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/1.706, allocations: 16 kB / 0.7206 GB, free: 64.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.706, allocations: 0 / 0.7206 GB, free: 64.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.804e-05/1.706, allocations: 5.812 kB / 0.7206 GB, free: 64.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.72, allocations: 5.6 MB / 0.7261 GB, free: 61.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.72, allocations: 0 / 0.7261 GB, free: 61.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.721, allocations: 171.6 kB / 0.7262 GB, free: 61.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004998/1.726, allocations: 1.457 MB / 0.7276 GB, free: 60.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002798/1.727, allocations: 13.69 kB / 0.7277 GB, free: 60.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/1.74, allocations: 6.022 MB / 0.7335 GB, free: 56.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.74, allocations: 6.609 kB / 0.7335 GB, free: 56.19 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01201/1.752, allocations: 4.653 MB / 0.7381 GB, free: 52.53 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01315/1.765, allocations: 5.88 MB / 0.7438 GB, free: 48.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007745/1.766, allocations: 303.2 kB / 0.7441 GB, free: 47.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/1.766, allocations: 7.984 kB / 0.7441 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.768, allocations: 91.88 kB / 0.7442 GB, free: 47.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/1.768, allocations: 114.1 kB / 0.7443 GB, free: 47.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.768, allocations: 38.48 kB / 0.7444 GB, free: 47.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001169/1.769, allocations: 0.9616 MB / 0.7453 GB, free: 46.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001707/1.771, allocations: 431.5 kB / 0.7457 GB, free: 46.54 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.0003152/1.771, allocations: 164.5 kB / 0.7459 GB, free: 46.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005846/1.777, allocations: 2.007 MB / 0.7478 GB, free: 44.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.777, allocations: 4 kB / 0.7478 GB, free: 44.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004149/1.782, allocations: 1.404 MB / 0.7492 GB, free: 43.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/1.783, allocations: 125.3 kB / 0.7493 GB, free: 43.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/1.788, allocations: 2.947 MB / 0.7522 GB, free: 40.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/1.79, allocations: 1.463 MB / 0.7536 GB, free: 39.12 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/1.79, allocations: 0 / 0.7536 GB, free: 39.12 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)