Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09465/0.09465, allocations: 12.6 MB / 28.9 MB, free: 0.5742 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.001255/0.001255, allocations: 111.5 kB / 32.5 MB, free: 3.512 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.458/1.458, allocations: 205.1 MB / 241.1 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.001978/0.001978, allocations: 180.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4867/0.4867, allocations: 78.5 MB / 420 MB, free: 11.23 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.002588/0.002588, allocations: 145.1 kB / 0.5565 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1628, allocations: 68.12 MB / 0.623 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.01034/0.1732, allocations: 8.278 MB / 0.6311 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006895/0.1802, allocations: 2.589 MB / 0.6336 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.1824, allocations: 12 kB / 0.6336 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1838, allocations: 305.4 kB / 0.6339 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.1896, allocations: 1.496 MB / 0.6354 GB, free: 2.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.1915, allocations: 0.6082 MB / 0.636 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004814/0.1963, allocations: 2.554 MB / 0.6385 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008465/0.1972, allocations: 320.8 kB / 0.6388 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.1993, allocations: 1 MB / 0.6398 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002598/0.2019, allocations: 1.362 MB / 0.6411 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009976/0.203, allocations: 204 kB / 0.6413 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.2047, allocations: 387.8 kB / 0.6417 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.2058, allocations: 0.5215 MB / 0.6422 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002316/0.2082, allocations: 0.9868 MB / 0.6431 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004529/0.2127, allocations: 2.367 MB / 0.6454 GB, free: 8.375 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.2127, allocations: 4 kB / 0.6455 GB, free: 8.371 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.2128, allocations: 0 / 0.6455 GB, free: 8.371 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001156/0.2129, allocations: 0 / 0.6455 GB, free: 8.371 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02323/0.2361, allocations: 4.945 MB / 0.6503 GB, free: 3.363 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/0.2362, allocations: 11.98 kB / 0.6503 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003769/0.24, allocations: 0.58 MB / 0.6509 GB, free: 2.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.2423, allocations: 1.212 MB / 0.652 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.2426, allocations: 264.8 kB / 0.6523 GB, free: 1.215 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.2429, allocations: 123.9 kB / 0.6524 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.2452, allocations: 1.093 MB / 0.6535 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.2452, allocations: 3.938 kB / 0.6535 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.2453, allocations: 32 kB / 0.6535 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.2453, allocations: 20 kB / 0.6535 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.2477, allocations: 1.187 MB / 0.6547 GB, free: 14.75 MB / 478.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.00778/0.2555, allocations: 4.598 MB / 0.6592 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.2588, allocations: 2.148 MB / 0.6613 GB, free: 7.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.2602, allocations: 0.7973 MB / 0.6621 GB, free: 6.797 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.2604, allocations: 25.28 kB / 0.6621 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.2604, allocations: 43.88 kB / 0.6621 GB, free: 6.719 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 4.368e-06/0.2604, allocations: 4 kB / 0.6621 GB, free: 6.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=130): time 0.02748/0.2879, allocations: 6.691 MB / 0.6687 GB, free: 15.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.288, allocations: 64.72 kB / 0.6687 GB, free: 15.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.2919, allocations: 1.655 MB / 0.6703 GB, free: 14.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005409/0.2924, allocations: 61.64 kB / 0.6704 GB, free: 14.19 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008445/0.2933, allocations: 0.5496 MB / 0.6709 GB, free: 13.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.2943, allocations: 0.4933 MB / 0.6714 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002249/0.2966, allocations: 0.5133 MB / 0.6719 GB, free: 12.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2968, allocations: 305.1 kB / 0.6722 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/0.2998, allocations: 1.145 MB / 0.6733 GB, free: 11.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/0.3031, allocations: 1.36 MB / 0.6747 GB, free: 9.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005528/0.3086, allocations: 2.338 MB / 0.6769 GB, free: 7.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.3087, allocations: 0 / 0.6769 GB, free: 7.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01205/0.3207, allocations: 4.082 MB / 0.6809 GB, free: 3.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.3208, allocations: 4 kB / 0.6809 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.3209, allocations: 8.188 kB / 0.6809 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/0.332, allocations: 2.819 MB / 0.6837 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/0.3347, allocations: 483.3 kB / 0.6842 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006567/0.3413, allocations: 2.523 MB / 0.6866 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003492/0.3448, allocations: 245.8 kB / 0.6869 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000548/0.3454, allocations: 91.97 kB / 0.6869 GB, free: 13.07 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.001173/0.3466, allocations: 309.3 kB / 0.6872 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007538/0.3474, allocations: 169.8 kB / 0.6874 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.3588, allocations: 3.554 MB / 0.6909 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.3589, allocations: 19.98 kB / 0.6909 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3589, allocations: 0 / 0.6909 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.3589, allocations: 3.984 kB / 0.6909 GB, free: 8.996 MB / 0.4981 GB 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 postOpt removeSimpleEquations (simulation): time 0.01516/0.3741, allocations: 5.646 MB / 0.6964 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.3741, allocations: 0 / 0.6964 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.3753, allocations: 167.8 kB / 0.6966 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005565/0.3809, allocations: 1.484 MB / 0.698 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002165/0.3811, allocations: 35.98 kB / 0.698 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/0.4016, allocations: 7.853 MB / 0.7057 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4017, allocations: 0 / 0.7057 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/0.4161, allocations: 4.562 MB / 0.7102 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.4173, allocations: 302.8 kB / 0.7105 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007262/0.418, allocations: 24 kB / 0.7105 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/0.4202, allocations: 79.92 kB / 0.7106 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007399/0.4209, allocations: 193.5 kB / 0.7107 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.4211, allocations: 35.98 kB / 0.7108 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002206/0.4233, allocations: 1.094 MB / 0.7118 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4233, allocations: 0 / 0.7118 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002694/0.426, allocations: 0.5894 MB / 0.7124 GB, free: 2.582 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000504/0.4266, allocations: 155 kB / 0.7126 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.3698/0.7964, allocations: 3 MB / 0.7155 GB, free: 85.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.7964, allocations: 1.031 kB / 0.7155 GB, free: 85.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005459/0.8019, allocations: 1.523 MB / 0.717 GB, free: 85.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.8036, allocations: 130.3 kB / 0.7171 GB, free: 85.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/0.8115, allocations: 3.508 MB / 0.7205 GB, free: 83.83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.8127, allocations: 1.241 MB / 0.7217 GB, free: 83.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009223/0.8137, allocations: 110 kB / 0.7219 GB, free: 83.08 MB / 0.5137 GB Notification: Performance of SimCode: time 1.502e-06/0.8137, allocations: 0.9062 kB / 0.7219 GB, free: 83.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.05429/0.868, allocations: 26.64 MB / 0.7479 GB, free: 71.94 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)