Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1847/0.1847, allocations: 12.59 MB / 28.22 MB, free: 0.7734 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 111.4 kB / 31.83 MB, free: 3.898 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.619/3.619, allocations: 205.1 MB / 240.4 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003884/0.003884, allocations: 187.2 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 1.206/1.206, allocations: 78.51 MB / 419.3 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005312/0.005313, allocations: 142.1 kB / 0.5553 GB, free: 28.61 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3905, allocations: 68.12 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.01822/0.4089, allocations: 6.189 MB / 0.6279 GB, free: 9.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.4205, allocations: 2.173 MB / 0.63 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.4238, allocations: 8 kB / 0.63 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.4261, allocations: 242.1 kB / 0.6303 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009873/0.436, allocations: 1.173 MB / 0.6314 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.4394, allocations: 478.9 kB / 0.6319 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007746/0.4472, allocations: 1.84 MB / 0.6337 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.4488, allocations: 203.4 kB / 0.6339 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007834/0.4567, allocations: 0.7123 MB / 0.6346 GB, free: 2.902 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008766/0.4656, allocations: 0.9573 MB / 0.6355 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00243/0.4682, allocations: 148 kB / 0.6356 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.4709, allocations: 315.8 kB / 0.6359 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.4726, allocations: 378.7 kB / 0.6363 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003501/0.4762, allocations: 0.6916 MB / 0.637 GB, free: 432 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006855/0.4831, allocations: 1.718 MB / 0.6387 GB, free: 14.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.568e-05/0.4836, allocations: 0 / 0.6387 GB, free: 14.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.4836, allocations: 4 kB / 0.6387 GB, free: 14.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001305/0.4838, allocations: 0 / 0.6387 GB, free: 14.7 MB / 462.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.03224/0.516, allocations: 3.711 MB / 0.6423 GB, free: 10.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001295/0.5162, allocations: 15.98 kB / 0.6423 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000831/0.5171, allocations: 102.7 kB / 0.6424 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006959/0.5241, allocations: 0.4988 MB / 0.6429 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005609/0.5298, allocations: 0.8908 MB / 0.6438 GB, free: 9.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007737/0.5306, allocations: 222.2 kB / 0.644 GB, free: 9.109 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009855/0.5317, allocations: 83.98 kB / 0.644 GB, free: 9.027 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005563/0.5373, allocations: 0.8925 MB / 0.6449 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.295e-05/0.5374, allocations: 4 kB / 0.6449 GB, free: 8.125 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/0.5378, allocations: 27.94 kB / 0.645 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.5379, allocations: 16 kB / 0.645 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006075/0.544, allocations: 0.985 MB / 0.6459 GB, free: 7.098 MB / 462.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.01551/0.5596, allocations: 2.919 MB / 0.6488 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006863/0.5665, allocations: 1.097 MB / 0.6499 GB, free: 2.941 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003114/0.5698, allocations: 0.6675 MB / 0.6505 GB, free: 2.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/0.5701, allocations: 16.98 kB / 0.6505 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.072e-05/0.5702, allocations: 39.56 kB / 0.6506 GB, free: 2.203 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 1.069e-05/0.5703, allocations: 0 / 0.6506 GB, free: 2.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.05112/0.6214, allocations: 6.485 MB / 0.6569 GB, free: 11.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.6217, allocations: 60.41 kB / 0.6569 GB, free: 11.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005595/0.6273, allocations: 1.14 MB / 0.6581 GB, free: 10.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008026/0.6282, allocations: 53.7 kB / 0.6581 GB, free: 10.39 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.6295, allocations: 385.9 kB / 0.6585 GB, free: 10.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001457/0.631, allocations: 370.9 kB / 0.6588 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003497/0.6345, allocations: 359.3 kB / 0.6592 GB, free: 9.281 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004345/0.635, allocations: 309.1 kB / 0.6595 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005314/0.6404, allocations: 0.9058 MB / 0.6604 GB, free: 8.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005217/0.6457, allocations: 0.9428 MB / 0.6613 GB, free: 7.129 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.6562, allocations: 1.809 MB / 0.663 GB, free: 5.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.216e-05/0.6564, allocations: 4 kB / 0.663 GB, free: 5.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02041/0.6768, allocations: 3.044 MB / 0.666 GB, free: 2.258 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-05/0.677, allocations: 7.984 kB / 0.666 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.6771, allocations: 3.938 kB / 0.666 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0173/0.6944, allocations: 2.265 MB / 0.6682 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003456/0.698, allocations: 323.5 kB / 0.6686 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.71, allocations: 2.272 MB / 0.6708 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/0.715, allocations: 206.4 kB / 0.671 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/0.7161, allocations: 59.97 kB / 0.671 GB, free: 13.11 MB / 494.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.002062/0.7182, allocations: 245.6 kB / 0.6713 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/0.7195, allocations: 118.5 kB / 0.6714 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02125/0.7408, allocations: 3.301 MB / 0.6746 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.297e-05/0.741, allocations: 15.94 kB / 0.6746 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/0.7411, allocations: 0 / 0.6746 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-05/0.7412, allocations: 3.984 kB / 0.6746 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005828/0.747, allocations: 1.218 MB / 0.6758 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.953e-05/0.7471, allocations: 0 / 0.6758 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.749, allocations: 107.9 kB / 0.6759 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01027/0.7593, allocations: 1.443 MB / 0.6773 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006008/0.76, allocations: 20 kB / 0.6773 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04156/0.8016, allocations: 7.814 MB / 0.685 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.8018, allocations: 4 kB / 0.685 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02552/0.8273, allocations: 4.127 MB / 0.689 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.8288, allocations: 243.3 kB / 0.6892 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/0.8299, allocations: 19.94 kB / 0.6893 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002997/0.8329, allocations: 84.02 kB / 0.6893 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001448/0.8345, allocations: 180.7 kB / 0.6895 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003993/0.8349, allocations: 28 kB / 0.6895 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002778/0.8377, allocations: 0.7602 MB / 0.6903 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8377, allocations: 0 / 0.6903 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003902/0.8416, allocations: 443.7 kB / 0.6907 GB, free: 8.684 MB / 0.4981 GB 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.02428/0.866, allocations: 4.594 MB / 0.6952 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0147/0.8808, allocations: 2.375 MB / 0.6975 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/0.8809, allocations: 4 kB / 0.6975 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.008969/0.8899, allocations: 1.309 MB / 0.6988 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.8923, allocations: 88.3 kB / 0.6989 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06974/0.9621, allocations: 13.33 MB / 0.7119 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/0.9648, allocations: 1.057 MB / 0.7129 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001759/0.9666, allocations: 115.6 kB / 0.713 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002293/0.969, allocations: 427.3 kB / 0.7134 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of SimCode: time 2.875e-06/0.969, allocations: 0 / 0.7134 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9524/1.921, allocations: 35.17 MB / 0.7478 GB, free: 71.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.26/30.18, allocations: 7.859 kB / 0.7478 GB, free: 71.23 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)