Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.0008011/0.0008014, allocations: 84.38 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.305/1.305, allocations: 223.3 MB / 239 MB, free: 5.426 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.0009463/0.000946, allocations: 180.5 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4394/0.4394, allocations: 78.56 MB / 419.9 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 19.94 kB / 499.8 MB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 69.36 MB / 0.5558 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2294/0.3676, allocations: 5.511 MB / 0.5612 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.3709, allocations: 2.014 MB / 0.5632 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003659/0.3713, allocations: 9.312 kB / 0.5632 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.3717, allocations: 158.7 kB / 0.5633 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.3736, allocations: 0.9734 MB / 0.5643 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007414/0.3744, allocations: 403.2 kB / 0.5647 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.3758, allocations: 1.622 MB / 0.5662 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.376, allocations: 174.8 kB / 0.5664 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004828/0.3765, allocations: 0.606 MB / 0.567 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007833/0.3773, allocations: 0.8536 MB / 0.5678 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.3775, allocations: 77.75 kB / 0.5679 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.3779, allocations: 238.4 kB / 0.5681 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.3782, allocations: 302.9 kB / 0.5684 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.3783, allocations: 210.2 kB / 0.5686 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.3791, allocations: 1.269 MB / 0.5699 GB, free: 35.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3792, allocations: 1.969 kB / 0.5699 GB, free: 35.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3792, allocations: 0 / 0.5699 GB, free: 35.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.3792, allocations: 0 / 0.5699 GB, free: 35.9 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.01173/0.3909, allocations: 3.614 MB / 0.5734 GB, free: 35.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.391, allocations: 8.469 kB / 0.5734 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/0.3937, allocations: 0.508 MB / 0.5739 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.3949, allocations: 0.8474 MB / 0.5747 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.3951, allocations: 233.6 kB / 0.5749 GB, free: 34.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.3953, allocations: 90.06 kB / 0.575 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.3969, allocations: 0.9408 MB / 0.5759 GB, free: 34.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.397, allocations: 0 / 0.5759 GB, free: 34.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.397, allocations: 21.25 kB / 0.576 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.397, allocations: 19.7 kB / 0.576 GB, free: 34.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.399, allocations: 1.056 MB / 0.577 GB, free: 33.79 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.003827/0.4028, allocations: 2.962 MB / 0.5799 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.4052, allocations: 1.165 MB / 0.581 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.4063, allocations: 0.7172 MB / 0.5817 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.4065, allocations: 17.45 kB / 0.5818 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.4065, allocations: 48.94 kB / 0.5818 GB, free: 31.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.144e-06/0.4065, allocations: 0 / 0.5818 GB, free: 31.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02467/0.4312, allocations: 7.652 MB / 0.5893 GB, free: 30.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.4312, allocations: 61.31 kB / 0.5893 GB, free: 30.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.4333, allocations: 1.139 MB / 0.5905 GB, free: 29.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.4335, allocations: 46.55 kB / 0.5905 GB, free: 29.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.4338, allocations: 392.8 kB / 0.5909 GB, free: 29.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.4342, allocations: 360.1 kB / 0.5912 GB, free: 28.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.4343, allocations: 39.62 kB / 0.5913 GB, free: 28.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4344, allocations: 376.8 kB / 0.5916 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.4363, allocations: 0.9532 MB / 0.5925 GB, free: 28.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.4382, allocations: 0.9807 MB / 0.5935 GB, free: 27.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.4401, allocations: 1.028 MB / 0.5945 GB, free: 27.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.4402, allocations: 4 kB / 0.5945 GB, free: 27.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006817/0.447, allocations: 3.267 MB / 0.5977 GB, free: 26.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.447, allocations: 10.41 kB / 0.5977 GB, free: 26.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4471, allocations: 0 / 0.5977 GB, free: 26.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008438/0.4555, allocations: 2.53 MB / 0.6002 GB, free: 25.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.4572, allocations: 324.8 kB / 0.6005 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005378/0.4626, allocations: 2.455 MB / 0.6029 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.4649, allocations: 237.7 kB / 0.6031 GB, free: 24.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.465, allocations: 63.02 kB / 0.6032 GB, free: 24.49 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 (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.0004558/0.4655, allocations: 245.4 kB / 0.6034 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.4657, allocations: 111.2 kB / 0.6035 GB, free: 24.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.4768, allocations: 3.909 MB / 0.6073 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.4768, allocations: 13.7 kB / 0.6073 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4768, allocations: 0.7969 kB / 0.6073 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.4768, allocations: 7.734 kB / 0.6074 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.4789, allocations: 1.214 MB / 0.6085 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.4789, allocations: 2.938 kB / 0.6085 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006455/0.4795, allocations: 109.3 kB / 0.6086 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004855/0.4844, allocations: 1.682 MB / 0.6103 GB, free: 22.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.264e-05/0.4845, allocations: 25.31 kB / 0.6103 GB, free: 22.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.5002, allocations: 7.822 MB / 0.618 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5003, allocations: 0 / 0.618 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.5107, allocations: 4.787 MB / 0.6226 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.5112, allocations: 240.8 kB / 0.6229 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.5114, allocations: 24 kB / 0.6229 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.5124, allocations: 107.9 kB / 0.623 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/0.5128, allocations: 176.7 kB / 0.6232 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.5129, allocations: 24 kB / 0.6232 GB, free: 8.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008498/0.5138, allocations: 0.7602 MB / 0.6239 GB, free: 8.145 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.5138, allocations: 112 / 0.6239 GB, free: 8.145 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001132/0.5149, allocations: 441.2 kB / 0.6243 GB, free: 7.715 MB / 430.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.0002351/0.5152, allocations: 143.6 kB / 0.6245 GB, free: 7.566 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005782/0.5209, allocations: 2.547 MB / 0.627 GB, free: 5.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.521, allocations: 0 / 0.627 GB, free: 5.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003334/0.5243, allocations: 1.44 MB / 0.6284 GB, free: 3.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/0.5252, allocations: 88.81 kB / 0.6285 GB, free: 3.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.5293, allocations: 2.886 MB / 0.6313 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.5298, allocations: 1.062 MB / 0.6323 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004906/0.5303, allocations: 99.64 kB / 0.6324 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.5306, allocations: 75.36 kB / 0.6325 GB, free: 15.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5306, allocations: 0 / 0.6325 GB, free: 15.41 MB / 446.1 MB Notification: Performance of Templates: time 0.02994/0.5605, allocations: 20.32 MB / 0.6523 GB, free: 11.24 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) Environment - environmentSimulation: