Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07949/0.07949, allocations: 12.2 MB / 27.18 MB, free: 1.504 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.0008219/0.0008219, allocations: 106.7 kB / 30.68 MB, free: 4.859 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.244/1.244, allocations: 205.4 MB / 239.5 MB, free: 13.61 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.001209/0.001209, allocations: 177.6 kB / 290.6 MB, free: 11.64 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4161/0.4161, allocations: 78.53 MB / 420.1 MB, free: 11.66 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.0008593/0.0008593, allocations: 24 kB / 0.4895 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2697, allocations: 69.24 MB / 0.5571 GB, free: 21.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.003986/0.2738, allocations: 5.523 MB / 0.5625 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.277, allocations: 2.061 MB / 0.5645 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006169/0.2776, allocations: 8 kB / 0.5645 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.278, allocations: 154.9 kB / 0.5646 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.28, allocations: 0.9718 MB / 0.5656 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.2807, allocations: 417.6 kB / 0.566 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.2819, allocations: 1.622 MB / 0.5676 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.2822, allocations: 173.2 kB / 0.5677 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005198/0.2827, allocations: 0.6031 MB / 0.5683 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006858/0.2834, allocations: 0.8483 MB / 0.5692 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.2835, allocations: 83.94 kB / 0.5692 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.284, allocations: 231.9 kB / 0.5695 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.2841, allocations: 302.7 kB / 0.5697 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.2843, allocations: 209.1 kB / 0.5699 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.2851, allocations: 1.268 MB / 0.5712 GB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2851, allocations: 0 / 0.5712 GB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2851, allocations: 0 / 0.5712 GB, free: 6.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.2851, allocations: 0 / 0.5712 GB, free: 6.566 MB / 382.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.01158/0.2967, allocations: 3.61 MB / 0.5747 GB, free: 2.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2968, allocations: 11.98 kB / 0.5747 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.2995, allocations: 0.4979 MB / 0.5752 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.3007, allocations: 0.8594 MB / 0.576 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.3009, allocations: 238.2 kB / 0.5763 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.301, allocations: 83.91 kB / 0.5764 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.3026, allocations: 0.9433 MB / 0.5773 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3026, allocations: 0 / 0.5773 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/0.3027, allocations: 24 kB / 0.5773 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3027, allocations: 12 kB / 0.5773 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.3048, allocations: 1.063 MB / 0.5783 GB, free: 15.08 MB / 398.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.004496/0.3093, allocations: 2.962 MB / 0.5812 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.3119, allocations: 1.164 MB / 0.5824 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.3132, allocations: 0.7182 MB / 0.5831 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.3133, allocations: 20.97 kB / 0.5831 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3133, allocations: 43.56 kB / 0.5831 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=94): time 2.615e-06/0.3133, allocations: 0 / 0.5831 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=94): time 0.02382/0.3371, allocations: 7.653 MB / 0.5906 GB, free: 2.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.3372, allocations: 64.36 kB / 0.5907 GB, free: 2.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.3388, allocations: 1.133 MB / 0.5918 GB, free: 1.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.339, allocations: 49.7 kB / 0.5918 GB, free: 1.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.3393, allocations: 393.8 kB / 0.5922 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.3397, allocations: 359 kB / 0.5925 GB, free: 312 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3398, allocations: 40 kB / 0.5926 GB, free: 272 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.34, allocations: 381.8 kB / 0.5929 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.3418, allocations: 0.9527 MB / 0.5939 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.3435, allocations: 0.9859 MB / 0.5948 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.346, allocations: 1.033 MB / 0.5958 GB, free: 12.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.346, allocations: 0 / 0.5958 GB, free: 12.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006596/0.3526, allocations: 3.259 MB / 0.599 GB, free: 9.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3526, allocations: 7.984 kB / 0.599 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3527, allocations: 0 / 0.599 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008089/0.3608, allocations: 2.538 MB / 0.6015 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.3624, allocations: 327.5 kB / 0.6018 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004911/0.3673, allocations: 2.456 MB / 0.6042 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.3693, allocations: 234.4 kB / 0.6045 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.3695, allocations: 59.98 kB / 0.6045 GB, free: 4.008 MB / 414.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 (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 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0004835/0.37, allocations: 249.5 kB / 0.6047 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.3703, allocations: 114.5 kB / 0.6049 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/0.3804, allocations: 3.907 MB / 0.6087 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/0.3805, allocations: 15.98 kB / 0.6087 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3805, allocations: 0 / 0.6087 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.3805, allocations: 3.984 kB / 0.6087 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.3822, allocations: 1.222 MB / 0.6099 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3822, allocations: 0 / 0.6099 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006535/0.3829, allocations: 115.8 kB / 0.61 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004881/0.3878, allocations: 1.673 MB / 0.6116 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-05/0.3879, allocations: 19.98 kB / 0.6116 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/0.4048, allocations: 7.825 MB / 0.6193 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4048, allocations: 0 / 0.6193 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/0.4166, allocations: 4.791 MB / 0.624 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004461/0.417, allocations: 239.3 kB / 0.6242 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.4172, allocations: 20 kB / 0.6242 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.4183, allocations: 111.9 kB / 0.6243 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004662/0.4188, allocations: 176.7 kB / 0.6245 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.4188, allocations: 27.98 kB / 0.6245 GB, free: 15.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009827/0.4198, allocations: 0.7524 MB / 0.6253 GB, free: 14.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.442e-06/0.4198, allocations: 0 / 0.6253 GB, free: 14.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001188/0.421, allocations: 443.6 kB / 0.6257 GB, free: 14.06 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 (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 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002556/0.4213, allocations: 135.2 kB / 0.6258 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006345/0.4277, allocations: 2.548 MB / 0.6283 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4277, allocations: 0 / 0.6283 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003829/0.4315, allocations: 1.446 MB / 0.6297 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4326, allocations: 96.56 kB / 0.6298 GB, free: 9.824 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/0.4371, allocations: 2.871 MB / 0.6326 GB, free: 6.934 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.4378, allocations: 1.062 MB / 0.6336 GB, free: 5.844 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005678/0.4383, allocations: 103.6 kB / 0.6337 GB, free: 5.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.4386, allocations: 67.42 kB / 0.6338 GB, free: 5.672 MB / 446.1 MB Notification: Performance of SimCode: time 2.835e-06/0.4387, allocations: 0 / 0.6338 GB, free: 5.672 MB / 446.1 MB Notification: Performance of Templates: time 0.03116/0.4698, allocations: 20.33 MB / 0.6537 GB, free: 1.379 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) Environment - environmentSimulation: