Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00745/0.00745, allocations: 101.1 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.415/1.415, allocations: 222.9 MB / 239.5 MB, free: 4.805 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.00127/0.001269, allocations: 200.4 kB / 289.8 MB, free: 2.535 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5547/0.5547, allocations: 91.89 MB / 431.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 71.89 kB / 0.5018 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3824, allocations: 71.26 MB / 0.5714 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005735/0.3882, allocations: 6.376 MB / 0.5777 GB, free: 32.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.392, allocations: 2.128 MB / 0.5797 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007465/0.3928, allocations: 10.75 kB / 0.5797 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.3933, allocations: 187.1 kB / 0.5799 GB, free: 31.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.3952, allocations: 0.7987 MB / 0.5807 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3963, allocations: 0.5271 MB / 0.5812 GB, free: 30.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.3978, allocations: 1.583 MB / 0.5828 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.3981, allocations: 189 kB / 0.5829 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006406/0.3987, allocations: 0.608 MB / 0.5835 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008492/0.3996, allocations: 0.8571 MB / 0.5844 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.3998, allocations: 83.91 kB / 0.5845 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.4003, allocations: 251.8 kB / 0.5847 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.4006, allocations: 302.3 kB / 0.585 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.401, allocations: 0.6162 MB / 0.5856 GB, free: 28.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009629/0.402, allocations: 1.288 MB / 0.5868 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.402, allocations: 0 / 0.5868 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.402, allocations: 0 / 0.5868 GB, free: 28.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.4021, allocations: 0 / 0.5868 GB, free: 28.02 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01156/0.4136, allocations: 3.142 MB / 0.5899 GB, free: 26.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.4137, allocations: 9.438 kB / 0.5899 GB, free: 26.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.4166, allocations: 0.4886 MB / 0.5904 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.4181, allocations: 0.8944 MB / 0.5913 GB, free: 26.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.4184, allocations: 229.1 kB / 0.5915 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.4185, allocations: 83.75 kB / 0.5916 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.4205, allocations: 0.8898 MB / 0.5924 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.4205, allocations: 0 / 0.5924 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.243e-05/0.4206, allocations: 24.78 kB / 0.5925 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.4206, allocations: 19.75 kB / 0.5925 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.4228, allocations: 0.9972 MB / 0.5935 GB, free: 25.2 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.005272/0.4281, allocations: 2.935 MB / 0.5963 GB, free: 23.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/0.431, allocations: 1.09 MB / 0.5974 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.4324, allocations: 0.6626 MB / 0.598 GB, free: 22.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.4325, allocations: 17.66 kB / 0.5981 GB, free: 22.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.4325, allocations: 43.34 kB / 0.5981 GB, free: 22.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.336e-06/0.4325, allocations: 5.406 kB / 0.5981 GB, free: 22.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.0279/0.4604, allocations: 6.481 MB / 0.6044 GB, free: 21.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.4605, allocations: 61 kB / 0.6045 GB, free: 21.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.4627, allocations: 1.143 MB / 0.6056 GB, free: 21.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002919/0.463, allocations: 46.64 kB / 0.6056 GB, free: 21.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.4633, allocations: 390 kB / 0.606 GB, free: 20.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.4637, allocations: 363.7 kB / 0.6064 GB, free: 20.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006931/0.4644, allocations: 364.6 kB / 0.6067 GB, free: 20.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.4644, allocations: 307.1 kB / 0.607 GB, free: 19.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.4664, allocations: 0.911 MB / 0.6079 GB, free: 19.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.4684, allocations: 0.9312 MB / 0.6088 GB, free: 19.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/0.4722, allocations: 1.813 MB / 0.6106 GB, free: 18.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.4722, allocations: 0 / 0.6106 GB, free: 18.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007987/0.4802, allocations: 3.045 MB / 0.6136 GB, free: 17.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.4803, allocations: 6.062 kB / 0.6136 GB, free: 17.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4803, allocations: 0 / 0.6136 GB, free: 17.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009802/0.4901, allocations: 2.276 MB / 0.6158 GB, free: 16.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.492, allocations: 328.7 kB / 0.6161 GB, free: 16.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004748/0.4968, allocations: 2.268 MB / 0.6183 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.499, allocations: 194.5 kB / 0.6185 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.4992, allocations: 59.98 kB / 0.6186 GB, free: 14.33 MB / 430.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.0004976/0.4997, allocations: 249.5 kB / 0.6188 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.5, allocations: 118.4 kB / 0.6189 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009234/0.5092, allocations: 3.297 MB / 0.6221 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.5093, allocations: 15.94 kB / 0.6221 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5093, allocations: 0 / 0.6221 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.5093, allocations: 3.984 kB / 0.6221 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.5109, allocations: 1.206 MB / 0.6233 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5109, allocations: 0 / 0.6233 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006635/0.5116, allocations: 115.8 kB / 0.6234 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004591/0.5162, allocations: 1.442 MB / 0.6248 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.5163, allocations: 23.98 kB / 0.6249 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/0.5317, allocations: 7.148 MB / 0.6318 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5317, allocations: 0 / 0.6318 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/0.544, allocations: 4.135 MB / 0.6359 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006991/0.5448, allocations: 231.3 kB / 0.6361 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.5451, allocations: 20.11 kB / 0.6361 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.5463, allocations: 87.84 kB / 0.6362 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006134/0.547, allocations: 172.7 kB / 0.6364 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.121e-05/0.5471, allocations: 27.98 kB / 0.6364 GB, free: 11.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001172/0.5482, allocations: 0.7602 MB / 0.6371 GB, free: 11.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5482, allocations: 0 / 0.6371 GB, free: 11.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001389/0.5496, allocations: 435.8 kB / 0.6376 GB, free: 10.6 MB / 446.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.0003237/0.55, allocations: 147 kB / 0.6377 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006849/0.5568, allocations: 2.345 MB / 0.64 GB, free: 8.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5569, allocations: 0 / 0.64 GB, free: 8.098 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004008/0.5609, allocations: 1.282 MB / 0.6412 GB, free: 6.801 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.5621, allocations: 98.77 kB / 0.6413 GB, free: 6.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/0.5672, allocations: 2.863 MB / 0.6441 GB, free: 3.816 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.5678, allocations: 1.054 MB / 0.6452 GB, free: 2.734 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/0.5684, allocations: 71.42 kB / 0.6452 GB, free: 2.664 MB / 446.1 MB Notification: Performance of SimCode: time 9.71e-07/0.5684, allocations: 0 / 0.6452 GB, free: 2.664 MB / 446.1 MB Notification: Performance of Templates: time 0.02642/0.5948, allocations: 19.04 MB / 0.6638 GB, free: 15.65 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)