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.007012/0.007012, allocations: 103 kB / 15.88 MB, free: 6.332 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.41/1.41, allocations: 222.9 MB / 239.5 MB, free: 4.816 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.001568/0.001568, allocations: 184.5 kB / 289.8 MB, free: 2.551 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5627/0.5627, allocations: 91.9 MB / 431.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 75.89 kB / 0.5019 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3753, allocations: 71.26 MB / 0.5714 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007995/0.3834, allocations: 8.495 MB / 0.5797 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006212/0.3897, allocations: 2.644 MB / 0.5823 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.3917, allocations: 12.72 kB / 0.5823 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009768/0.3927, allocations: 236.1 kB / 0.5826 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.3964, allocations: 1.017 MB / 0.5836 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.3982, allocations: 0.6421 MB / 0.5842 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003288/0.4015, allocations: 2.254 MB / 0.5864 GB, free: 27.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000588/0.4021, allocations: 290.9 kB / 0.5867 GB, free: 27.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.4037, allocations: 0.848 MB / 0.5875 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.4062, allocations: 1.226 MB / 0.5887 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001083/0.4073, allocations: 117.9 kB / 0.5888 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.4093, allocations: 286.3 kB / 0.5891 GB, free: 26.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000533/0.4099, allocations: 425.4 kB / 0.5895 GB, free: 26.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.411, allocations: 0.8936 MB / 0.5903 GB, free: 25.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.4126, allocations: 1.762 MB / 0.5921 GB, free: 24.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4126, allocations: 0 / 0.5921 GB, free: 24.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.4126, allocations: 0 / 0.5921 GB, free: 24.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.735e-05/0.4126, allocations: 0 / 0.5921 GB, free: 24.89 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.01587/0.4285, allocations: 4.09 MB / 0.5961 GB, free: 23.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/0.4286, allocations: 8.719 kB / 0.5961 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003775/0.4324, allocations: 0.5804 MB / 0.5966 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.4347, allocations: 1.216 MB / 0.5978 GB, free: 22.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002996/0.435, allocations: 269.6 kB / 0.5981 GB, free: 22.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.4353, allocations: 123.1 kB / 0.5982 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.4378, allocations: 1.088 MB / 0.5993 GB, free: 21.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.4378, allocations: 4 kB / 0.5993 GB, free: 21.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.4379, allocations: 31.12 kB / 0.5993 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.4379, allocations: 20.44 kB / 0.5993 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.4404, allocations: 1.179 MB / 0.6005 GB, free: 21.3 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.008648/0.449, allocations: 4.622 MB / 0.605 GB, free: 18.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/0.4522, allocations: 2.139 MB / 0.6071 GB, free: 17.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.4538, allocations: 0.7973 MB / 0.6078 GB, free: 16.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.4539, allocations: 32.8 kB / 0.6079 GB, free: 16.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.454, allocations: 50.11 kB / 0.6079 GB, free: 16.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.695e-06/0.454, allocations: 0 / 0.6079 GB, free: 16.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.028/0.482, allocations: 6.686 MB / 0.6145 GB, free: 15.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4821, allocations: 73.7 kB / 0.6145 GB, free: 15.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.485, allocations: 1.656 MB / 0.6161 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004416/0.4855, allocations: 56.52 kB / 0.6162 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.4859, allocations: 0.5471 MB / 0.6167 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005113/0.4864, allocations: 0.496 MB / 0.6172 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008913/0.4873, allocations: 0.5114 MB / 0.6177 GB, free: 12.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.4874, allocations: 301.1 kB / 0.618 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.4896, allocations: 1.148 MB / 0.6191 GB, free: 12.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.492, allocations: 1.358 MB / 0.6204 GB, free: 11.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004304/0.4963, allocations: 2.345 MB / 0.6227 GB, free: 9.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.4964, allocations: 0 / 0.6227 GB, free: 9.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008684/0.5051, allocations: 4.086 MB / 0.6267 GB, free: 5.613 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.5051, allocations: 4 kB / 0.6267 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.5051, allocations: 4 kB / 0.6267 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009986/0.5151, allocations: 2.823 MB / 0.6295 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.5175, allocations: 483.3 kB / 0.63 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00521/0.5228, allocations: 2.524 MB / 0.6324 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003435/0.5262, allocations: 241.9 kB / 0.6326 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003696/0.5266, allocations: 91.97 kB / 0.6327 GB, free: 15.43 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.0007635/0.5274, allocations: 317.2 kB / 0.633 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/0.5279, allocations: 169.8 kB / 0.6332 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.5388, allocations: 3.538 MB / 0.6367 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.5388, allocations: 12 kB / 0.6367 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.5388, allocations: 0 / 0.6367 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.704e-05/0.5389, allocations: 7.969 kB / 0.6367 GB, free: 11.36 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.0144/0.5533, allocations: 5.674 MB / 0.6422 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.5534, allocations: 0 / 0.6422 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.5546, allocations: 175.7 kB / 0.6424 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005423/0.56, allocations: 1.488 MB / 0.6438 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/0.5604, allocations: 28 kB / 0.6439 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01729/0.5776, allocations: 7.172 MB / 0.6509 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5777, allocations: 4 kB / 0.6509 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/0.5907, allocations: 4.556 MB / 0.6553 GB, free: 7.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.5918, allocations: 306.8 kB / 0.6556 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004527/0.5923, allocations: 24 kB / 0.6556 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.5939, allocations: 79.92 kB / 0.6557 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006112/0.5945, allocations: 185.4 kB / 0.6559 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/0.5946, allocations: 39.98 kB / 0.6559 GB, free: 7.289 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00163/0.5963, allocations: 1.09 MB / 0.657 GB, free: 6.203 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5963, allocations: 3.938 kB / 0.657 GB, free: 6.199 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001919/0.5982, allocations: 0.5934 MB / 0.6576 GB, free: 5.605 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.0003708/0.5986, allocations: 151.1 kB / 0.6577 GB, free: 5.449 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008551/0.6072, allocations: 2.968 MB / 0.6606 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.6072, allocations: 0 / 0.6606 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0047/0.6119, allocations: 1.508 MB / 0.6621 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.6138, allocations: 133.5 kB / 0.6622 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/0.6209, allocations: 4.062 MB / 0.6662 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/0.6217, allocations: 1.238 MB / 0.6674 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008936/0.6226, allocations: 107.4 kB / 0.6675 GB, free: 11.36 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6226, allocations: 0 / 0.6675 GB, free: 11.36 MB / 478.1 MB Notification: Performance of Templates: time 0.03577/0.6584, allocations: 26.48 MB / 0.6934 GB, free: 0.8594 MB / 494.1 MB 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)