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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 239 MB, free: 4.711 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 188.5 kB / 289.3 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5458/0.5458, allocations: 91.9 MB / 431.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 79.88 kB / 0.5015 GB, free: 7.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3512, allocations: 71.26 MB / 0.5711 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005853/0.3571, allocations: 6.361 MB / 0.5773 GB, free: 32.94 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003989/0.3612, allocations: 2.118 MB / 0.5794 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009094/0.3621, allocations: 14.28 kB / 0.5794 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.3628, allocations: 189.1 kB / 0.5796 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.365, allocations: 0.7909 MB / 0.5803 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3661, allocations: 0.5174 MB / 0.5808 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.3677, allocations: 1.661 MB / 0.5825 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.3681, allocations: 212.6 kB / 0.5827 GB, free: 29.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000786/0.3689, allocations: 0.6693 MB / 0.5833 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008436/0.3697, allocations: 0.9247 MB / 0.5842 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.37, allocations: 146 kB / 0.5844 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.3706, allocations: 320.6 kB / 0.5847 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.3709, allocations: 365.7 kB / 0.585 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004733/0.3714, allocations: 0.6759 MB / 0.5857 GB, free: 28.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.3729, allocations: 1.677 MB / 0.5873 GB, free: 27.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3729, allocations: 4 kB / 0.5873 GB, free: 27.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3729, allocations: 1.188 kB / 0.5873 GB, free: 27.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.3729, allocations: 0 / 0.5873 GB, free: 27.59 MB / 430.1 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.01204/0.385, allocations: 3.146 MB / 0.5904 GB, free: 26.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.3851, allocations: 9.094 kB / 0.5904 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.3852, allocations: 105 kB / 0.5905 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.3884, allocations: 0.4928 MB / 0.591 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.39, allocations: 0.9004 MB / 0.5919 GB, free: 25.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.3903, allocations: 227.5 kB / 0.5921 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.3905, allocations: 85.2 kB / 0.5922 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.3924, allocations: 0.887 MB / 0.593 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.3925, allocations: 0 / 0.593 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/0.3926, allocations: 24.44 kB / 0.593 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.3926, allocations: 19.62 kB / 0.5931 GB, free: 24.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.3948, allocations: 0.9873 MB / 0.594 GB, free: 24.68 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00548/0.4003, allocations: 2.938 MB / 0.5969 GB, free: 23.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.4031, allocations: 1.093 MB / 0.598 GB, free: 22.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.4045, allocations: 0.6603 MB / 0.5986 GB, free: 22.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.4047, allocations: 18.09 kB / 0.5986 GB, free: 22.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.4047, allocations: 43.25 kB / 0.5987 GB, free: 22.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.376e-06/0.4047, allocations: 0 / 0.5987 GB, free: 22.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02847/0.4332, allocations: 6.483 MB / 0.605 GB, free: 21.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.4333, allocations: 63.23 kB / 0.6051 GB, free: 21.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.4352, allocations: 1.147 MB / 0.6062 GB, free: 20.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000335/0.4356, allocations: 47.67 kB / 0.6062 GB, free: 20.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.4358, allocations: 390.5 kB / 0.6066 GB, free: 20.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/0.4362, allocations: 363.5 kB / 0.6069 GB, free: 19.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006613/0.4369, allocations: 363.7 kB / 0.6073 GB, free: 19.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.437, allocations: 305.1 kB / 0.6076 GB, free: 19.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.4389, allocations: 0.9084 MB / 0.6085 GB, free: 19.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.4408, allocations: 0.9345 MB / 0.6094 GB, free: 18.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/0.4444, allocations: 1.808 MB / 0.6111 GB, free: 17.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.4444, allocations: 1.188 kB / 0.6111 GB, free: 17.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007271/0.4517, allocations: 3.049 MB / 0.6141 GB, free: 16.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.4517, allocations: 5 kB / 0.6141 GB, free: 16.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.4518, allocations: 4.594 kB / 0.6141 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009204/0.461, allocations: 2.276 MB / 0.6164 GB, free: 16.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.4628, allocations: 323.2 kB / 0.6167 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004719/0.4675, allocations: 2.278 MB / 0.6189 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.47, allocations: 198.5 kB / 0.6191 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.4703, allocations: 55.98 kB / 0.6191 GB, free: 13.28 MB / 430.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0005073/0.4708, allocations: 249.6 kB / 0.6194 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.4711, allocations: 122.4 kB / 0.6195 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009521/0.4806, allocations: 3.293 MB / 0.6227 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.4807, allocations: 15.94 kB / 0.6227 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4807, allocations: 7.938 kB / 0.6227 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/0.4807, allocations: 3.984 kB / 0.6227 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.4825, allocations: 1.206 MB / 0.6239 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.4826, allocations: 0 / 0.6239 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.4832, allocations: 111.9 kB / 0.624 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004757/0.488, allocations: 1.462 MB / 0.6254 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.4882, allocations: 16 kB / 0.6255 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/0.5047, allocations: 7.831 MB / 0.6331 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5047, allocations: 0 / 0.6331 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/0.5171, allocations: 4.131 MB / 0.6371 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006553/0.5178, allocations: 231.4 kB / 0.6374 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.5181, allocations: 20 kB / 0.6374 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.5194, allocations: 87.91 kB / 0.6375 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005792/0.52, allocations: 172.8 kB / 0.6376 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.788e-05/0.5201, allocations: 28 kB / 0.6377 GB, free: 10.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001078/0.5212, allocations: 0.7602 MB / 0.6384 GB, free: 9.277 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5212, allocations: 0 / 0.6384 GB, free: 9.277 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001349/0.5226, allocations: 443.7 kB / 0.6388 GB, free: 8.844 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01221/0.5348, allocations: 4.605 MB / 0.6433 GB, free: 4.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007182/0.542, allocations: 2.401 MB / 0.6457 GB, free: 1.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5421, allocations: 0 / 0.6457 GB, free: 1.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003991/0.546, allocations: 1.309 MB / 0.6469 GB, free: 488 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.5473, allocations: 92.3 kB / 0.647 GB, free: 392 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/0.574, allocations: 14.31 MB / 0.661 GB, free: 1.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/0.5747, allocations: 1.057 MB / 0.662 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006079/0.5753, allocations: 107.6 kB / 0.6621 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/0.576, allocations: 427.3 kB / 0.6625 GB, free: 124 kB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.576, allocations: 0 / 0.6625 GB, free: 124 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06373/0.6397, allocations: 32.37 MB / 0.6942 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.64, allocations: 257.9 kB / 0.6944 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.021/3.661, allocations: 0 / 0.6944 GB, free: 15.69 MB / 0.4981 GB (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/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)