Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_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.003859/0.003859, allocations: 185.6 kB / 7.459 MB, free: 2.516 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.388/1.388, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0009918/0.0009918, allocations: 101.9 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4214/0.4214, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2085/0.6299, allocations: 75.49 MB / 484.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/1.026, allocations: 69.35 MB / 0.5408 GB, free: 21.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/1.162, allocations: 102.6 MB / 0.641 GB, free: 2.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.162, allocations: 83.95 kB / 0.641 GB, free: 2.148 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.3754/1.537, allocations: 37.04 MB / 0.6772 GB, free: 105.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/1.537, allocations: 7.5 kB / 0.6772 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/1.54, allocations: 401.2 kB / 0.6776 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/1.542, allocations: 0.8154 MB / 0.6784 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/1.542, allocations: 198.7 kB / 0.6786 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/1.542, allocations: 45.09 kB / 0.6786 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001347/1.543, allocations: 0.7616 MB / 0.6794 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.544, allocations: 0.6387 MB / 0.68 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/1.544, allocations: 2.719 kB / 0.68 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/1.545, allocations: 3.969 kB / 0.68 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/1.545, allocations: 15.59 kB / 0.68 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004982/1.55, allocations: 2.678 MB / 0.6826 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/1.551, allocations: 0.7569 MB / 0.6834 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007161/1.552, allocations: 0.4987 MB / 0.6839 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/1.552, allocations: 15.03 kB / 0.6839 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/1.552, allocations: 47.81 kB / 0.6839 GB, free: 104.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 3.827e-06/1.552, allocations: 0 / 0.6839 GB, free: 104.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01009/1.562, allocations: 3.352 MB / 0.6872 GB, free: 104.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/1.562, allocations: 63.16 kB / 0.6873 GB, free: 104.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/1.563, allocations: 0.8577 MB / 0.6881 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001945/1.564, allocations: 28.23 kB / 0.6881 GB, free: 104 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/1.564, allocations: 254.1 kB / 0.6884 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/1.564, allocations: 321.8 kB / 0.6887 GB, free: 103.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/1.564, allocations: 2.812 kB / 0.6887 GB, free: 103.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.579e-05/1.564, allocations: 336.7 kB / 0.689 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/1.565, allocations: 398.6 kB / 0.6894 GB, free: 103.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/1.565, allocations: 403.3 kB / 0.6898 GB, free: 103.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009532/1.566, allocations: 441.9 kB / 0.6902 GB, free: 103.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.566, allocations: 0 / 0.6902 GB, free: 103.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002763/1.569, allocations: 1.437 MB / 0.6916 GB, free: 102.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.569, allocations: 3.812 kB / 0.6916 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.569, allocations: 3.875 kB / 0.6916 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007181/1.576, allocations: 1.908 MB / 0.6935 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/1.577, allocations: 110.5 kB / 0.6936 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004209/1.581, allocations: 2.198 MB / 0.6957 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/1.583, allocations: 152.5 kB / 0.6959 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.583, allocations: 23.52 kB / 0.6959 GB, free: 101.2 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.0002193/1.584, allocations: 115.9 kB / 0.696 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/1.584, allocations: 121.2 kB / 0.6961 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.595, allocations: 3.433 MB / 0.6995 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/1.595, allocations: 10 kB / 0.6995 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.595, allocations: 4.719 kB / 0.6995 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.162e-05/1.595, allocations: 7.781 kB / 0.6995 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/1.597, allocations: 1.117 MB / 0.7006 GB, free: 99.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/1.597, allocations: 0.5312 kB / 0.7006 GB, free: 99.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008221/1.598, allocations: 116.9 kB / 0.7007 GB, free: 99.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005259/1.603, allocations: 1.369 MB / 0.702 GB, free: 99.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/1.604, allocations: 7.094 kB / 0.702 GB, free: 99.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/1.622, allocations: 5.799 MB / 0.7077 GB, free: 96.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/1.622, allocations: 0 / 0.7077 GB, free: 96.22 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01427/1.636, allocations: 4.129 MB / 0.7117 GB, free: 94.44 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01243/1.649, allocations: 5.186 MB / 0.7168 GB, free: 89.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006052/1.65, allocations: 237.8 kB / 0.717 GB, free: 89.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/1.65, allocations: 0 / 0.717 GB, free: 89.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/1.651, allocations: 110.4 kB / 0.7171 GB, free: 89.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/1.651, allocations: 97.95 kB / 0.7172 GB, free: 89.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-05/1.652, allocations: 26.64 kB / 0.7172 GB, free: 89.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008495/1.652, allocations: 0.6786 MB / 0.7179 GB, free: 88.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001603/1.654, allocations: 327.1 kB / 0.7182 GB, free: 88.54 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.0003164/1.654, allocations: 155.5 kB / 0.7184 GB, free: 88.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005/1.659, allocations: 1.618 MB / 0.7199 GB, free: 86.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.659, allocations: 0 / 0.7199 GB, free: 86.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003852/1.663, allocations: 1.194 MB / 0.7211 GB, free: 85.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009657/1.664, allocations: 79.83 kB / 0.7212 GB, free: 85.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/1.669, allocations: 2.028 MB / 0.7232 GB, free: 84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008713/1.67, allocations: 1.19 MB / 0.7243 GB, free: 82.94 MB / 490.7 MB Notification: Performance of SimCode: time 1.984e-06/1.67, allocations: 0 / 0.7243 GB, free: 82.94 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)