Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.00378/0.00378, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.2 MB / 213.1 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 96.28 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07573/0.07573, allocations: 12.19 MB / 321.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2968/0.2968, allocations: 78.05 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2791/0.5759, allocations: 76.09 MB / 0.5137 GB, free: 30.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.6984, allocations: 69.22 MB / 0.5813 GB, free: 9.195 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3721/1.071, allocations: 104.7 MB / 0.6835 GB, free: 4.312 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.071, allocations: 77.77 kB / 0.6836 GB, free: 4.273 MB / 426.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.1422/1.213, allocations: 50.8 MB / 0.7332 GB, free: 10.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.213, allocations: 15.94 kB / 0.7332 GB, free: 10.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/1.216, allocations: 482.1 kB / 0.7337 GB, free: 9.859 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/1.219, allocations: 1.071 MB / 0.7347 GB, free: 9.008 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/1.22, allocations: 236 kB / 0.735 GB, free: 8.742 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004365/1.22, allocations: 59.5 kB / 0.735 GB, free: 8.688 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002579/1.223, allocations: 0.9816 MB / 0.736 GB, free: 8.078 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/1.225, allocations: 0.8376 MB / 0.7368 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.225, allocations: 0 / 0.7368 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.225, allocations: 0 / 0.7368 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/1.225, allocations: 28 kB / 0.7368 GB, free: 7.473 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/1.235, allocations: 4.278 MB / 0.741 GB, free: 4.109 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/1.237, allocations: 1.007 MB / 0.742 GB, free: 3.223 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/1.238, allocations: 0.6297 MB / 0.7426 GB, free: 2.594 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/1.238, allocations: 29.28 kB / 0.7426 GB, free: 2.566 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/1.238, allocations: 43.88 kB / 0.7427 GB, free: 2.512 MB / 474.7 MB Notification: Performance of pre-optimization done (n=130): time 6.522e-06/1.238, allocations: 3.984 kB / 0.7427 GB, free: 2.508 MB / 474.7 MB Notification: Performance of matching and sorting (n=130): time 0.01226/1.251, allocations: 3.665 MB / 0.7462 GB, free: 14.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/1.251, allocations: 68.62 kB / 0.7463 GB, free: 14.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/1.254, allocations: 1.236 MB / 0.7475 GB, free: 13.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003958/1.254, allocations: 29.7 kB / 0.7475 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/1.254, allocations: 336.3 kB / 0.7479 GB, free: 13.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.255, allocations: 457.1 kB / 0.7483 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/1.256, allocations: 0 / 0.7483 GB, free: 12.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/1.256, allocations: 353.9 kB / 0.7486 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.257, allocations: 0.4908 MB / 0.7491 GB, free: 11.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/1.258, allocations: 0.6033 MB / 0.7497 GB, free: 11.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/1.259, allocations: 0.5802 MB / 0.7503 GB, free: 10.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.259, allocations: 0 / 0.7503 GB, free: 10.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004664/1.264, allocations: 1.885 MB / 0.7521 GB, free: 8.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/1.264, allocations: 11.5 kB / 0.7521 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.264, allocations: 4 kB / 0.7521 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009893/1.274, allocations: 2.3 MB / 0.7544 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/1.275, allocations: 175.8 kB / 0.7545 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006099/1.281, allocations: 2.629 MB / 0.7571 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/1.284, allocations: 154.9 kB / 0.7573 GB, free: 3.434 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/1.284, allocations: 43.97 kB / 0.7573 GB, free: 3.391 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.0003033/1.285, allocations: 120.8 kB / 0.7574 GB, free: 3.266 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006654/1.285, allocations: 165.9 kB / 0.7576 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/1.296, allocations: 3.771 MB / 0.7613 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/1.297, allocations: 23.84 kB / 0.7613 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.297, allocations: 3.984 kB / 0.7613 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.035e-05/1.297, allocations: 3.984 kB / 0.7613 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/1.311, allocations: 5.587 MB / 0.7667 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.311, allocations: 0 / 0.7667 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.312, allocations: 171.7 kB / 0.7669 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005661/1.318, allocations: 1.461 MB / 0.7683 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003829/1.318, allocations: 11.98 kB / 0.7683 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/1.333, allocations: 6.016 MB / 0.7742 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.333, allocations: 0 / 0.7742 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01352/1.346, allocations: 4.665 MB / 0.7788 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01438/1.361, allocations: 5.874 MB / 0.7845 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009215/1.362, allocations: 302.6 kB / 0.7848 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/1.362, allocations: 4 kB / 0.7848 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.364, allocations: 87.92 kB / 0.7849 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/1.364, allocations: 117.1 kB / 0.785 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.364, allocations: 39.98 kB / 0.785 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001598/1.366, allocations: 0.9566 MB / 0.786 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001893/1.368, allocations: 439.4 kB / 0.7864 GB, free: 5.277 MB / 0.5105 GB 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.0003707/1.368, allocations: 170.9 kB / 0.7866 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006239/1.374, allocations: 2.002 MB / 0.7885 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.375, allocations: 0 / 0.7885 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004467/1.379, allocations: 1.404 MB / 0.7899 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/1.381, allocations: 120 kB / 0.79 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007375/1.388, allocations: 2.955 MB / 0.7929 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/1.389, allocations: 1.461 MB / 0.7943 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/1.389, allocations: 0 / 0.7943 GB, free: 13.08 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)