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.1004/0.1004, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001337/0.001337, allocations: 188.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4645/0.4645, allocations: 78.5 MB / 419.2 MB, free: 11.34 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.005478/0.005478, allocations: 141 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3944, allocations: 68.1 MB / 0.5547 GB, free: 32.78 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.008335/0.4028, allocations: 6.192 MB / 0.5607 GB, free: 28.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005353/0.4082, allocations: 2.17 MB / 0.5628 GB, free: 26.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008225/0.4091, allocations: 8.062 kB / 0.5628 GB, free: 26.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.4097, allocations: 231.1 kB / 0.5631 GB, free: 26.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002616/0.4123, allocations: 1.178 MB / 0.5642 GB, free: 25.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.4135, allocations: 481 kB / 0.5647 GB, free: 25.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.4154, allocations: 1.837 MB / 0.5665 GB, free: 24.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.4158, allocations: 214.3 kB / 0.5667 GB, free: 23.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008146/0.4166, allocations: 0.7077 MB / 0.5674 GB, free: 23.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000962/0.4176, allocations: 0.9514 MB / 0.5683 GB, free: 22.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.4179, allocations: 145.8 kB / 0.5684 GB, free: 22.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006822/0.4186, allocations: 314.4 kB / 0.5687 GB, free: 22.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.4189, allocations: 383.5 kB / 0.5691 GB, free: 22.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005584/0.4194, allocations: 0.6838 MB / 0.5698 GB, free: 21.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.4211, allocations: 1.705 MB / 0.5714 GB, free: 20.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4211, allocations: 0 / 0.5714 GB, free: 20.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.113e-06/0.4211, allocations: 0 / 0.5714 GB, free: 20.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.4211, allocations: 4 kB / 0.5714 GB, free: 20.6 MB / 398.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.01536/0.4365, allocations: 3.711 MB / 0.5751 GB, free: 18.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.4366, allocations: 11.98 kB / 0.5751 GB, free: 18.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.4367, allocations: 106.7 kB / 0.5752 GB, free: 18.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.4397, allocations: 0.495 MB / 0.5757 GB, free: 17.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.441, allocations: 0.8946 MB / 0.5765 GB, free: 17.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.4413, allocations: 226.2 kB / 0.5767 GB, free: 16.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.4414, allocations: 80 kB / 0.5768 GB, free: 16.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.4431, allocations: 0.8925 MB / 0.5777 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.4431, allocations: 0 / 0.5777 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.4432, allocations: 28 kB / 0.5777 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.4432, allocations: 12 kB / 0.5777 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.4452, allocations: 0.9889 MB / 0.5787 GB, free: 14.75 MB / 398.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.004617/0.4498, allocations: 2.938 MB / 0.5816 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.4525, allocations: 1.093 MB / 0.5826 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.4537, allocations: 0.6675 MB / 0.5833 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.4539, allocations: 20.98 kB / 0.5833 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4539, allocations: 39.56 kB / 0.5833 GB, free: 9.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=94): time 3.066e-06/0.4539, allocations: 0 / 0.5833 GB, free: 9.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=94): time 0.02542/0.4793, allocations: 6.481 MB / 0.5897 GB, free: 3.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.4794, allocations: 68.39 kB / 0.5897 GB, free: 3.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.4814, allocations: 1.148 MB / 0.5909 GB, free: 2.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003637/0.4818, allocations: 49.7 kB / 0.5909 GB, free: 2.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/0.4823, allocations: 389.9 kB / 0.5913 GB, free: 1.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006848/0.483, allocations: 359 kB / 0.5916 GB, free: 1.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/0.4845, allocations: 367.2 kB / 0.592 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.4846, allocations: 305.1 kB / 0.5923 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.4869, allocations: 0.9098 MB / 0.5931 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/0.4893, allocations: 0.9351 MB / 0.5941 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004215/0.4936, allocations: 1.809 MB / 0.5958 GB, free: 12.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.4936, allocations: 0 / 0.5958 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007597/0.5012, allocations: 3.051 MB / 0.5988 GB, free: 9.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.5012, allocations: 4 kB / 0.5988 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.5013, allocations: 0 / 0.5988 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009561/0.5108, allocations: 2.276 MB / 0.601 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.5126, allocations: 319.6 kB / 0.6013 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005887/0.5185, allocations: 2.271 MB / 0.6036 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.5211, allocations: 194.5 kB / 0.6037 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/0.5214, allocations: 59.98 kB / 0.6038 GB, free: 4.766 MB / 414.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.0008155/0.5223, allocations: 249.6 kB / 0.604 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006153/0.5229, allocations: 122.4 kB / 0.6042 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.5347, allocations: 3.301 MB / 0.6074 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.5348, allocations: 11.94 kB / 0.6074 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5348, allocations: 7.938 kB / 0.6074 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.5348, allocations: 3.984 kB / 0.6074 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.5373, allocations: 1.214 MB / 0.6086 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.5373, allocations: 0 / 0.6086 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007981/0.5381, allocations: 111.9 kB / 0.6087 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005654/0.5438, allocations: 1.454 MB / 0.6101 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.544, allocations: 16 kB / 0.6101 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02102/0.565, allocations: 7.826 MB / 0.6178 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5651, allocations: 0 / 0.6178 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/0.5787, allocations: 4.143 MB / 0.6218 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007608/0.5796, allocations: 227.4 kB / 0.622 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005493/0.5801, allocations: 20 kB / 0.6221 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/0.5819, allocations: 83.91 kB / 0.6221 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006967/0.5826, allocations: 176.8 kB / 0.6223 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.5827, allocations: 28 kB / 0.6223 GB, free: 1.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001605/0.5843, allocations: 0.7641 MB / 0.6231 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.5843, allocations: 0 / 0.6231 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00197/0.5863, allocations: 435.7 kB / 0.6235 GB, free: 328 kB / 430.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.01324/0.5996, allocations: 4.603 MB / 0.628 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008005/0.6076, allocations: 2.398 MB / 0.6303 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6077, allocations: 0 / 0.6303 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004485/0.6122, allocations: 1.314 MB / 0.6316 GB, free: 7.961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.6138, allocations: 95.8 kB / 0.6317 GB, free: 7.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03012/0.644, allocations: 13.97 MB / 0.6453 GB, free: 9.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/0.6449, allocations: 1.057 MB / 0.6464 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000626/0.6455, allocations: 103.6 kB / 0.6465 GB, free: 8.375 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008134/0.6463, allocations: 427.3 kB / 0.6469 GB, free: 7.957 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6464, allocations: 0 / 0.6469 GB, free: 7.957 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07519/0.7216, allocations: 33.36 MB / 0.6795 GB, free: 6.742 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.56, allocations: 3.938 kB / 0.6795 GB, free: 6.738 MB / 494.1 MB (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)