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.0009612/0.0009611, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.343/1.343, allocations: 223.2 MB / 238.9 MB, free: 5.645 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.001343/0.001343, allocations: 185.1 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4712/0.4712, allocations: 79.45 MB / 420.7 MB, free: 3.941 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004101, allocations: 8 kB / 0.489 GB, free: 5.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1591, allocations: 69.52 MB / 0.5569 GB, free: 24 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.2498/0.4089, allocations: 7.095 MB / 0.5638 GB, free: 37.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.4133, allocations: 2.573 MB / 0.5663 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006942/0.414, allocations: 12.75 kB / 0.5663 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.4145, allocations: 205.4 kB / 0.5665 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.4165, allocations: 1.005 MB / 0.5675 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.4175, allocations: 0.5745 MB / 0.5681 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.4191, allocations: 1.437 MB / 0.5695 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.4195, allocations: 265 kB / 0.5697 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006815/0.4202, allocations: 0.8173 MB / 0.5705 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.4212, allocations: 1.161 MB / 0.5717 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.4214, allocations: 106.2 kB / 0.5718 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.4219, allocations: 264 kB / 0.572 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.4222, allocations: 394.8 kB / 0.5724 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.4224, allocations: 287.2 kB / 0.5727 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.4235, allocations: 1.684 MB / 0.5743 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.4235, allocations: 2.844 kB / 0.5743 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4235, allocations: 0.7188 kB / 0.5743 GB, free: 33.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.4235, allocations: 0 / 0.5743 GB, free: 33.55 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.01351/0.4371, allocations: 3.937 MB / 0.5782 GB, free: 32.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4371, allocations: 11.06 kB / 0.5782 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/0.4404, allocations: 0.5688 MB / 0.5787 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.442, allocations: 1.166 MB / 0.5799 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.4423, allocations: 276.8 kB / 0.5801 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.4425, allocations: 114.7 kB / 0.5802 GB, free: 31.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.4444, allocations: 1.13 MB / 0.5813 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.4444, allocations: 4 kB / 0.5813 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.821e-05/0.4445, allocations: 37.62 kB / 0.5814 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.4445, allocations: 24.27 kB / 0.5814 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.4466, allocations: 1.225 MB / 0.5826 GB, free: 30.23 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.006318/0.4529, allocations: 4.767 MB / 0.5872 GB, free: 27.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.4559, allocations: 2.185 MB / 0.5894 GB, free: 25.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.456, allocations: 26.58 kB / 0.5894 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.456, allocations: 56.62 kB / 0.5895 GB, free: 25.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.015e-06/0.4561, allocations: 0 / 0.5895 GB, free: 25.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.0298/0.4859, allocations: 7.685 MB / 0.597 GB, free: 24.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.4859, allocations: 65.44 kB / 0.597 GB, free: 24.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002734/0.4887, allocations: 1.645 MB / 0.5986 GB, free: 23.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003095/0.489, allocations: 60.58 kB / 0.5987 GB, free: 23.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.4894, allocations: 0.5513 MB / 0.5992 GB, free: 23.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005178/0.49, allocations: 0.4915 MB / 0.5997 GB, free: 22.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.4901, allocations: 55 kB / 0.5998 GB, free: 22.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4903, allocations: 408.9 kB / 0.6002 GB, free: 22.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.4925, allocations: 1.184 MB / 0.6013 GB, free: 21.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.4948, allocations: 1.383 MB / 0.6027 GB, free: 21.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.4972, allocations: 1.306 MB / 0.6039 GB, free: 20.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.4972, allocations: 0 / 0.6039 GB, free: 20.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009319/0.5065, allocations: 4.269 MB / 0.6081 GB, free: 19.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.5066, allocations: 12.8 kB / 0.6081 GB, free: 19.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.5066, allocations: 1.156 kB / 0.6081 GB, free: 19.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0116/0.5182, allocations: 3.081 MB / 0.6111 GB, free: 18.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.5208, allocations: 483.6 kB / 0.6116 GB, free: 18.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005756/0.5266, allocations: 2.696 MB / 0.6142 GB, free: 17.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/0.5298, allocations: 269.6 kB / 0.6145 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.53, allocations: 89.66 kB / 0.6146 GB, free: 17.16 MB / 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.0006601/0.5307, allocations: 308.3 kB / 0.6149 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.531, allocations: 169.4 kB / 0.615 GB, free: 16.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/0.5415, allocations: 4.134 MB / 0.6191 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.5416, allocations: 12 kB / 0.6191 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.5416, allocations: 0 / 0.6191 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.5416, allocations: 7.984 kB / 0.6191 GB, free: 12.97 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 postOpt removeSimpleEquations (simulation): time 0.01248/0.5541, allocations: 6.229 MB / 0.6252 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.5541, allocations: 0 / 0.6252 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009589/0.5551, allocations: 176.7 kB / 0.6253 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005181/0.5603, allocations: 1.7 MB / 0.627 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.5605, allocations: 28.61 kB / 0.627 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.5781, allocations: 8.193 MB / 0.635 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5781, allocations: 0 / 0.635 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.5915, allocations: 5.17 MB / 0.6401 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009573/0.5925, allocations: 314.8 kB / 0.6404 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/0.5928, allocations: 28 kB / 0.6404 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.5943, allocations: 102.8 kB / 0.6405 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005383/0.5948, allocations: 198.7 kB / 0.6407 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-05/0.5949, allocations: 36 kB / 0.6407 GB, free: 6.465 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001404/0.5963, allocations: 1.075 MB / 0.6418 GB, free: 5.395 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5963, allocations: 0 / 0.6418 GB, free: 5.395 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001607/0.598, allocations: 0.5933 MB / 0.6423 GB, free: 4.801 MB / 446.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.0002917/0.5983, allocations: 159 kB / 0.6425 GB, free: 4.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007901/0.6062, allocations: 3.154 MB / 0.6456 GB, free: 1.477 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6062, allocations: 4 kB / 0.6456 GB, free: 1.473 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004366/0.6106, allocations: 1.662 MB / 0.6472 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/0.6114, allocations: 110.7 kB / 0.6473 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005881/0.6173, allocations: 4.159 MB / 0.6514 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.6179, allocations: 1.269 MB / 0.6526 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000672/0.6186, allocations: 159.2 kB / 0.6528 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.619, allocations: 103.4 kB / 0.6529 GB, free: 10.07 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.619, allocations: 0 / 0.6529 GB, free: 10.07 MB / 462.1 MB Notification: Performance of Templates: time 0.03935/0.6584, allocations: 26.42 MB / 0.6787 GB, free: 15.8 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)