Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009519/0.0009519, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.34 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.001166/0.001166, allocations: 180.5 kB / 291.3 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5751/0.5751, allocations: 91.92 MB / 434.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 12 kB / 0.5054 GB, free: 7.262 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4072, allocations: 72.47 MB / 0.5762 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006086/0.4134, allocations: 7.981 MB / 0.584 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004733/0.4181, allocations: 2.63 MB / 0.5865 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008914/0.4191, allocations: 12.16 kB / 0.5865 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.4197, allocations: 230.9 kB / 0.5868 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.4223, allocations: 1.023 MB / 0.5878 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.4235, allocations: 0.6417 MB / 0.5884 GB, free: 28.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002068/0.4255, allocations: 2.244 MB / 0.5906 GB, free: 27.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004172/0.426, allocations: 286.4 kB / 0.5909 GB, free: 27.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.4271, allocations: 0.8399 MB / 0.5917 GB, free: 26.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.4284, allocations: 1.201 MB / 0.5929 GB, free: 26.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.4286, allocations: 107.3 kB / 0.593 GB, free: 26.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007756/0.4294, allocations: 270.5 kB / 0.5932 GB, free: 26.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.4297, allocations: 416.4 kB / 0.5936 GB, free: 25.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007166/0.4305, allocations: 0.8888 MB / 0.5945 GB, free: 25.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.4319, allocations: 1.719 MB / 0.5962 GB, free: 24.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4319, allocations: 0 / 0.5962 GB, free: 24.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4319, allocations: 4 kB / 0.5962 GB, free: 24.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.4319, allocations: 1.25 kB / 0.5962 GB, free: 24.86 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01495/0.4469, allocations: 3.907 MB / 0.6 GB, free: 23.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.447, allocations: 9 kB / 0.6 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.4512, allocations: 0.5803 MB / 0.6006 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.4536, allocations: 1.22 MB / 0.6017 GB, free: 22.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.4539, allocations: 276.8 kB / 0.602 GB, free: 22.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/0.4542, allocations: 113.4 kB / 0.6021 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.4567, allocations: 1.141 MB / 0.6032 GB, free: 21.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.4568, allocations: 0 / 0.6032 GB, free: 21.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.4569, allocations: 36.14 kB / 0.6033 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.4569, allocations: 20.34 kB / 0.6033 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.4596, allocations: 1.235 MB / 0.6045 GB, free: 21.43 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.008899/0.4685, allocations: 4.651 MB / 0.609 GB, free: 18.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.4718, allocations: 2.2 MB / 0.6112 GB, free: 17.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.4734, allocations: 0.8479 MB / 0.612 GB, free: 16.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.4735, allocations: 21.41 kB / 0.612 GB, free: 16.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.4736, allocations: 45.91 kB / 0.6121 GB, free: 16.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.416e-06/0.4736, allocations: 0 / 0.6121 GB, free: 16.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.0312/0.5048, allocations: 7.742 MB / 0.6196 GB, free: 14.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.5049, allocations: 69.53 kB / 0.6197 GB, free: 14.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003996/0.5089, allocations: 1.662 MB / 0.6213 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005409/0.5095, allocations: 55.45 kB / 0.6214 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000654/0.5101, allocations: 0.5506 MB / 0.6219 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009299/0.5111, allocations: 0.4963 MB / 0.6224 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000867/0.5119, allocations: 269 kB / 0.6227 GB, free: 12.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.512, allocations: 310.1 kB / 0.6229 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/0.5153, allocations: 1.195 MB / 0.6241 GB, free: 11.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003205/0.5185, allocations: 1.403 MB / 0.6255 GB, free: 10.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005136/0.5237, allocations: 2.44 MB / 0.6279 GB, free: 8.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.5237, allocations: 4 kB / 0.6279 GB, free: 8.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01049/0.5342, allocations: 4.39 MB / 0.6322 GB, free: 3.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.5343, allocations: 8 kB / 0.6322 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.5343, allocations: 0 / 0.6322 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/0.5452, allocations: 3.077 MB / 0.6352 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/0.5477, allocations: 487.3 kB / 0.6356 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/0.5542, allocations: 2.696 MB / 0.6383 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/0.5579, allocations: 265.9 kB / 0.6385 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004957/0.5584, allocations: 91.97 kB / 0.6386 GB, free: 13.04 MB / 446.1 MB 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.001151/0.5596, allocations: 321.3 kB / 0.6389 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007293/0.5603, allocations: 165.8 kB / 0.6391 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.5734, allocations: 4.124 MB / 0.6431 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.5734, allocations: 12 kB / 0.6431 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.5735, allocations: 4 kB / 0.6431 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-05/0.5735, allocations: 7.969 kB / 0.6431 GB, free: 8.387 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01711/0.5906, allocations: 6.248 MB / 0.6492 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.5907, allocations: 0 / 0.6492 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.5918, allocations: 163.8 kB / 0.6494 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00599/0.5978, allocations: 1.703 MB / 0.651 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002328/0.5981, allocations: 27.98 kB / 0.6511 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/0.6184, allocations: 7.812 MB / 0.6587 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6185, allocations: 0 / 0.6587 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/0.634, allocations: 5.193 MB / 0.6638 GB, free: 2.906 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.6352, allocations: 314.8 kB / 0.6641 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008057/0.636, allocations: 24 kB / 0.6641 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/0.6382, allocations: 103.9 kB / 0.6642 GB, free: 2.453 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007671/0.639, allocations: 189.4 kB / 0.6644 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.6392, allocations: 35.98 kB / 0.6644 GB, free: 2.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00219/0.6414, allocations: 1.094 MB / 0.6655 GB, free: 1.145 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6414, allocations: 0 / 0.6655 GB, free: 1.145 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002618/0.644, allocations: 0.5894 MB / 0.6661 GB, free: 0.5547 MB / 462.1 MB 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.0004649/0.6445, allocations: 155.1 kB / 0.6662 GB, free: 404 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009413/0.6539, allocations: 3.171 MB / 0.6693 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.654, allocations: 4 kB / 0.6693 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005185/0.6592, allocations: 1.657 MB / 0.6709 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.6615, allocations: 137.4 kB / 0.6711 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008228/0.6697, allocations: 4.339 MB / 0.6753 GB, free: 7.043 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.6708, allocations: 1.23 MB / 0.6765 GB, free: 5.781 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.672, allocations: 107.4 kB / 0.6766 GB, free: 5.676 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.672, allocations: 0 / 0.6766 GB, free: 5.676 MB / 478.1 MB Notification: Performance of Templates: time 0.04432/0.7163, allocations: 26.32 MB / 0.7023 GB, free: 11.34 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)