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.000938/0.000938, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 223.2 MB / 239 MB, free: 5.457 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.0009599/0.00096, allocations: 172.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4734/0.4734, allocations: 91.91 MB / 433.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 15.98 kB / 0.5042 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2926, allocations: 72.47 MB / 0.5749 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.004773/0.2974, allocations: 7.449 MB / 0.5822 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.3008, allocations: 2.511 MB / 0.5847 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005685/0.3014, allocations: 10.94 kB / 0.5847 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.3018, allocations: 206.6 kB / 0.5849 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.3035, allocations: 0.9433 MB / 0.5858 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009189/0.3045, allocations: 0.5718 MB / 0.5864 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.306, allocations: 2.087 MB / 0.5884 GB, free: 27.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.3064, allocations: 268.3 kB / 0.5886 GB, free: 27.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/0.3071, allocations: 0.8071 MB / 0.5894 GB, free: 27.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.3081, allocations: 1.174 MB / 0.5906 GB, free: 26.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.3084, allocations: 107.3 kB / 0.5907 GB, free: 26.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.3089, allocations: 273.1 kB / 0.5909 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.3092, allocations: 407.3 kB / 0.5913 GB, free: 26.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.3094, allocations: 291.3 kB / 0.5916 GB, free: 26.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.3106, allocations: 1.714 MB / 0.5933 GB, free: 26.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3106, allocations: 0 / 0.5933 GB, free: 26.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3107, allocations: 1.344 kB / 0.5933 GB, free: 26.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.992e-05/0.3107, allocations: 0 / 0.5933 GB, free: 26.05 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.0125/0.3232, allocations: 3.929 MB / 0.5971 GB, free: 24.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3232, allocations: 8.594 kB / 0.5971 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.3265, allocations: 0.5851 MB / 0.5977 GB, free: 24.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.3284, allocations: 1.165 MB / 0.5988 GB, free: 23.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.3286, allocations: 279.4 kB / 0.5991 GB, free: 23.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.3288, allocations: 114.2 kB / 0.5992 GB, free: 23.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.3309, allocations: 1.137 MB / 0.6003 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.3309, allocations: 0 / 0.6003 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/0.331, allocations: 31.34 kB / 0.6004 GB, free: 23.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.331, allocations: 25.11 kB / 0.6004 GB, free: 23.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.3333, allocations: 1.228 MB / 0.6016 GB, free: 22.66 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.006899/0.3402, allocations: 4.638 MB / 0.6061 GB, free: 20 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.343, allocations: 2.201 MB / 0.6083 GB, free: 18.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.3444, allocations: 0.8353 MB / 0.6091 GB, free: 18.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.3445, allocations: 26.23 kB / 0.6091 GB, free: 18.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.3445, allocations: 48.72 kB / 0.6091 GB, free: 18.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.655e-06/0.3445, allocations: 0 / 0.6091 GB, free: 18.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02426/0.3688, allocations: 7.689 MB / 0.6167 GB, free: 16.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.3689, allocations: 69.64 kB / 0.6167 GB, free: 16.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.3711, allocations: 1.644 MB / 0.6183 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002494/0.3714, allocations: 55.92 kB / 0.6184 GB, free: 15.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.3717, allocations: 0.5502 MB / 0.6189 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/0.3721, allocations: 0.505 MB / 0.6194 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.3722, allocations: 51.19 kB / 0.6195 GB, free: 14.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.3724, allocations: 405.6 kB / 0.6198 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.3743, allocations: 1.183 MB / 0.621 GB, free: 13.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.3764, allocations: 1.393 MB / 0.6224 GB, free: 12.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.3784, allocations: 1.312 MB / 0.6236 GB, free: 11.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3784, allocations: 0 / 0.6236 GB, free: 11.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.007149/0.3856, allocations: 4.266 MB / 0.6278 GB, free: 7.027 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3856, allocations: 4 kB / 0.6278 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3856, allocations: 7.953 kB / 0.6278 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008831/0.3945, allocations: 3.081 MB / 0.6308 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.3964, allocations: 487.3 kB / 0.6313 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004418/0.4008, allocations: 2.692 MB / 0.6339 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.4031, allocations: 273.8 kB / 0.6342 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/0.4033, allocations: 87.97 kB / 0.6343 GB, free: 392 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.0005066/0.4038, allocations: 317.3 kB / 0.6346 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.4041, allocations: 166.1 kB / 0.6347 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.4144, allocations: 4.12 MB / 0.6387 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.4144, allocations: 12 kB / 0.6388 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4144, allocations: 4 kB / 0.6388 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/0.4145, allocations: 7.969 kB / 0.6388 GB, free: 11.74 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.01273/0.4272, allocations: 6.229 MB / 0.6449 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.4272, allocations: 3.938 kB / 0.6449 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000909/0.4281, allocations: 175.7 kB / 0.645 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004897/0.433, allocations: 1.699 MB / 0.6467 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.4332, allocations: 31.98 kB / 0.6467 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.4489, allocations: 7.793 MB / 0.6543 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4489, allocations: 4 kB / 0.6543 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01183/0.4607, allocations: 5.174 MB / 0.6594 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006903/0.4615, allocations: 314.8 kB / 0.6597 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.4617, allocations: 24 kB / 0.6597 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.463, allocations: 103.9 kB / 0.6598 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004806/0.4635, allocations: 189.4 kB / 0.66 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.4636, allocations: 36 kB / 0.66 GB, free: 5.629 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.465, allocations: 1.082 MB / 0.6611 GB, free: 4.551 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.465, allocations: 0 / 0.6611 GB, free: 4.551 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001448/0.4665, allocations: 0.5894 MB / 0.6617 GB, free: 3.961 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002633/0.4668, allocations: 153.5 kB / 0.6618 GB, free: 3.805 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007746/0.4745, allocations: 3.164 MB / 0.6649 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.4746, allocations: 0 / 0.6649 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004069/0.4786, allocations: 1.663 MB / 0.6665 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.4798, allocations: 131.1 kB / 0.6666 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005761/0.4856, allocations: 4.112 MB / 0.6707 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.4863, allocations: 1.238 MB / 0.6719 GB, free: 9.426 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007134/0.487, allocations: 171.1 kB / 0.672 GB, free: 9.254 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.4875, allocations: 103.4 kB / 0.6721 GB, free: 9.152 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4875, allocations: 0 / 0.6721 GB, free: 9.152 MB / 478.1 MB Notification: Performance of Templates: time 0.03802/0.5255, allocations: 26.47 MB / 0.698 GB, free: 14.72 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)