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/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/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1114/0.1114, allocations: 12.2 MB / 27.32 MB, free: 1.441 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.001327/0.001327, allocations: 119.4 kB / 30.83 MB, free: 4.711 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.474/1.474, allocations: 205.1 MB / 239.3 MB, free: 11.01 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.001255/0.001255, allocations: 191.8 kB / 289.5 MB, free: 15.9 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4603/0.4603, allocations: 78.5 MB / 418 MB, free: 31.78 MB / 318.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.002341/0.002341, allocations: 132.5 kB / 498.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4061, allocations: 68.03 MB / 0.553 GB, free: 37.61 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.006386/0.4126, allocations: 6.359 MB / 0.5592 GB, free: 32.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004235/0.4168, allocations: 2.18 MB / 0.5613 GB, free: 31.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005801/0.4175, allocations: 12.28 kB / 0.5613 GB, free: 31.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005945/0.4181, allocations: 191.8 kB / 0.5615 GB, free: 31.31 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.4206, allocations: 1.074 MB / 0.5625 GB, free: 30.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009794/0.4216, allocations: 450 kB / 0.563 GB, free: 30.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.4233, allocations: 1.752 MB / 0.5647 GB, free: 29.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.4237, allocations: 189 kB / 0.5649 GB, free: 29.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007302/0.4244, allocations: 0.6355 MB / 0.5655 GB, free: 29.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008888/0.4253, allocations: 0.8968 MB / 0.5664 GB, free: 28.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.4255, allocations: 81.75 kB / 0.5664 GB, free: 28.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005804/0.4261, allocations: 252.3 kB / 0.5667 GB, free: 28.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.4263, allocations: 313.5 kB / 0.567 GB, free: 28.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.4268, allocations: 0.6267 MB / 0.5676 GB, free: 28.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.4283, allocations: 1.658 MB / 0.5692 GB, free: 27.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.4283, allocations: 4 kB / 0.5692 GB, free: 27.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4284, allocations: 0 / 0.5692 GB, free: 27.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.4284, allocations: 0 / 0.5692 GB, free: 27.6 MB / 414.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.01392/0.4423, allocations: 3.704 MB / 0.5728 GB, free: 26.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4424, allocations: 15.84 kB / 0.5728 GB, free: 26.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.4453, allocations: 0.4938 MB / 0.5733 GB, free: 26.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.4466, allocations: 0.8941 MB / 0.5742 GB, free: 25.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.4469, allocations: 226.7 kB / 0.5744 GB, free: 25.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.4471, allocations: 78.66 kB / 0.5745 GB, free: 25.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.449, allocations: 0.8935 MB / 0.5754 GB, free: 25.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.4491, allocations: 0 / 0.5754 GB, free: 25.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.4492, allocations: 26.16 kB / 0.5754 GB, free: 25.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.4492, allocations: 11.5 kB / 0.5754 GB, free: 25.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.4516, allocations: 0.9942 MB / 0.5764 GB, free: 24.7 MB / 414.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.005366/0.457, allocations: 2.936 MB / 0.5792 GB, free: 23.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.46, allocations: 1.097 MB / 0.5803 GB, free: 22.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.4614, allocations: 0.6626 MB / 0.581 GB, free: 22.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.4615, allocations: 17.75 kB / 0.581 GB, free: 22.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.4616, allocations: 43.11 kB / 0.581 GB, free: 22.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.046e-06/0.4616, allocations: 0 / 0.581 GB, free: 22.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.027/0.4886, allocations: 6.48 MB / 0.5873 GB, free: 19.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.4887, allocations: 70.19 kB / 0.5874 GB, free: 19.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.4906, allocations: 1.142 MB / 0.5885 GB, free: 19.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003287/0.4909, allocations: 49.39 kB / 0.5886 GB, free: 19.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.4912, allocations: 388.6 kB / 0.5889 GB, free: 18.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/0.4916, allocations: 366.3 kB / 0.5893 GB, free: 18.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006159/0.4922, allocations: 365.2 kB / 0.5896 GB, free: 18.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.4922, allocations: 306 kB / 0.5899 GB, free: 18.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.4941, allocations: 0.9045 MB / 0.5908 GB, free: 17.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.4959, allocations: 0.9346 MB / 0.5917 GB, free: 17.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/0.4993, allocations: 1.817 MB / 0.5935 GB, free: 16.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4993, allocations: 0 / 0.5935 GB, free: 16.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006565/0.5059, allocations: 3.043 MB / 0.5965 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.5059, allocations: 4 kB / 0.5965 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.5059, allocations: 3.938 kB / 0.5965 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008044/0.514, allocations: 2.276 MB / 0.5987 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.5157, allocations: 327.5 kB / 0.599 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/0.5202, allocations: 2.265 MB / 0.6012 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.5226, allocations: 198.4 kB / 0.6014 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.5227, allocations: 59.98 kB / 0.6015 GB, free: 8.938 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.0004831/0.5232, allocations: 251.2 kB / 0.6017 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.5234, allocations: 118.5 kB / 0.6018 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009276/0.5327, allocations: 3.301 MB / 0.605 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.5328, allocations: 15.94 kB / 0.6051 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.5328, allocations: 0 / 0.6051 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.5328, allocations: 3.984 kB / 0.6051 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.5343, allocations: 1.218 MB / 0.6063 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5343, allocations: 0 / 0.6063 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006546/0.535, allocations: 115.8 kB / 0.6064 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004767/0.5398, allocations: 1.446 MB / 0.6078 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.5399, allocations: 16 kB / 0.6078 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01777/0.5577, allocations: 7.134 MB / 0.6148 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5577, allocations: 0 / 0.6148 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/0.5704, allocations: 4.139 MB / 0.6188 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006754/0.5711, allocations: 231.4 kB / 0.619 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/0.5716, allocations: 24 kB / 0.619 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.5731, allocations: 79.91 kB / 0.6191 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006083/0.5738, allocations: 176.7 kB / 0.6193 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.947e-05/0.5739, allocations: 27.98 kB / 0.6193 GB, free: 6.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001304/0.5752, allocations: 0.7602 MB / 0.6201 GB, free: 5.633 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5752, allocations: 0 / 0.6201 GB, free: 5.633 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001731/0.5769, allocations: 431.8 kB / 0.6205 GB, free: 5.211 MB / 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.000352/0.5773, allocations: 147 kB / 0.6206 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006941/0.5843, allocations: 2.341 MB / 0.6229 GB, free: 2.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5843, allocations: 0 / 0.6229 GB, free: 2.719 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00408/0.5884, allocations: 1.289 MB / 0.6242 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.5896, allocations: 92.25 kB / 0.6242 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.5946, allocations: 2.83 MB / 0.627 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.5953, allocations: 1.058 MB / 0.628 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005483/0.5959, allocations: 111.6 kB / 0.6281 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.5962, allocations: 71.42 kB / 0.6282 GB, free: 13.2 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5962, allocations: 0 / 0.6282 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Templates: time 0.03439/0.6306, allocations: 21.41 MB / 0.6491 GB, free: 7.812 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)