Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.0008197/0.0008196, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.316/1.316, allocations: 223.3 MB / 239.1 MB, free: 5.422 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.0009968/0.000997, allocations: 175.6 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.4516/0.4516, allocations: 78.55 MB / 419.9 MB, free: 4.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003996, allocations: 8 kB / 499.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 69.37 MB / 0.5558 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.2442/0.3798, allocations: 7.413 MB / 0.5631 GB, free: 37.92 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004473/0.3843, allocations: 2.526 MB / 0.5655 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007734/0.3851, allocations: 12.03 kB / 0.5655 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.3856, allocations: 209.9 kB / 0.5657 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.3885, allocations: 1.247 MB / 0.567 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009229/0.3894, allocations: 0.5104 MB / 0.5675 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.3914, allocations: 2.254 MB / 0.5697 GB, free: 36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.3918, allocations: 264.7 kB / 0.5699 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006896/0.3925, allocations: 0.8576 MB / 0.5707 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3935, allocations: 1.219 MB / 0.5719 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.3937, allocations: 104.9 kB / 0.572 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.3942, allocations: 270.9 kB / 0.5723 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.3945, allocations: 424.8 kB / 0.5727 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.3947, allocations: 288.7 kB / 0.573 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.3958, allocations: 1.749 MB / 0.5747 GB, free: 34.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3958, allocations: 0.6562 kB / 0.5747 GB, free: 34.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3958, allocations: 0 / 0.5747 GB, free: 34.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.3959, allocations: 3.625 kB / 0.5747 GB, free: 34.14 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.01593/0.4118, allocations: 4.785 MB / 0.5794 GB, free: 32.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4119, allocations: 8.906 kB / 0.5794 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.415, allocations: 0.5798 MB / 0.5799 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.4166, allocations: 1.161 MB / 0.5811 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.4168, allocations: 278.9 kB / 0.5813 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.417, allocations: 117.3 kB / 0.5814 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.4188, allocations: 1.131 MB / 0.5825 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.4189, allocations: 0 / 0.5825 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-05/0.419, allocations: 34.81 kB / 0.5826 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.419, allocations: 27.48 kB / 0.5826 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.4212, allocations: 1.225 MB / 0.5838 GB, free: 30.71 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.006607/0.4278, allocations: 4.649 MB / 0.5883 GB, free: 28.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.4307, allocations: 2.187 MB / 0.5905 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.4322, allocations: 0.834 MB / 0.5913 GB, free: 26.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.4323, allocations: 27.53 kB / 0.5913 GB, free: 26.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.4324, allocations: 50.31 kB / 0.5914 GB, free: 26.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.825e-06/0.4324, allocations: 1.031 kB / 0.5914 GB, free: 26.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02546/0.4578, allocations: 7.686 MB / 0.5989 GB, free: 24.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.4579, allocations: 64.75 kB / 0.5989 GB, free: 24.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.4609, allocations: 1.647 MB / 0.6005 GB, free: 23.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002458/0.4612, allocations: 61.8 kB / 0.6006 GB, free: 23.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000538/0.4617, allocations: 0.5485 MB / 0.6011 GB, free: 23.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005591/0.4623, allocations: 499.5 kB / 0.6016 GB, free: 23.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.4626, allocations: 55.78 kB / 0.6017 GB, free: 22.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4628, allocations: 406.3 kB / 0.6021 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/0.4653, allocations: 1.192 MB / 0.6032 GB, free: 22.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/0.4679, allocations: 1.394 MB / 0.6046 GB, free: 21.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/0.4706, allocations: 1.302 MB / 0.6059 GB, free: 20.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.4706, allocations: 1.188 kB / 0.6059 GB, free: 20.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009274/0.4799, allocations: 4.269 MB / 0.61 GB, free: 19.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4799, allocations: 7.203 kB / 0.61 GB, free: 19.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.48, allocations: 2.281 kB / 0.61 GB, free: 19.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/0.4903, allocations: 3.083 MB / 0.613 GB, free: 18.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/0.4926, allocations: 487.2 kB / 0.6135 GB, free: 18.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/0.4974, allocations: 2.696 MB / 0.6161 GB, free: 16.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.5001, allocations: 269.8 kB / 0.6164 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/0.5004, allocations: 87.97 kB / 0.6165 GB, free: 15.81 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.0007868/0.5012, allocations: 315.1 kB / 0.6168 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/0.5017, allocations: 169.8 kB / 0.6169 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009434/0.5111, allocations: 4.126 MB / 0.621 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.5111, allocations: 16 kB / 0.621 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5112, allocations: 0 / 0.621 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.5112, allocations: 7.969 kB / 0.621 GB, free: 11.17 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.01148/0.5227, allocations: 6.234 MB / 0.6271 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.5227, allocations: 0 / 0.6271 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008716/0.5236, allocations: 167.8 kB / 0.6272 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004657/0.5283, allocations: 1.698 MB / 0.6289 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.5284, allocations: 31.98 kB / 0.6289 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/0.5449, allocations: 7.787 MB / 0.6365 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.545, allocations: 4 kB / 0.6365 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/0.5576, allocations: 5.179 MB / 0.6416 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007681/0.5585, allocations: 310.8 kB / 0.6419 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/0.5589, allocations: 24.94 kB / 0.6419 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.5605, allocations: 107.9 kB / 0.642 GB, free: 5.285 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005514/0.561, allocations: 197.3 kB / 0.6422 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.5611, allocations: 34.95 kB / 0.6422 GB, free: 5.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001673/0.5628, allocations: 1.078 MB / 0.6433 GB, free: 3.988 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5628, allocations: 0 / 0.6433 GB, free: 3.988 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001937/0.5648, allocations: 0.5855 MB / 0.6439 GB, free: 3.402 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.0003221/0.5651, allocations: 159 kB / 0.644 GB, free: 3.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008041/0.5732, allocations: 3.162 MB / 0.6471 GB, free: 76 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5732, allocations: 0 / 0.6471 GB, free: 76 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004187/0.5774, allocations: 1.662 MB / 0.6487 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.5789, allocations: 125.6 kB / 0.6489 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/0.5854, allocations: 4.12 MB / 0.6529 GB, free: 10.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008561/0.5862, allocations: 1.234 MB / 0.6541 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007713/0.587, allocations: 165.2 kB / 0.6542 GB, free: 8.809 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/0.5875, allocations: 103.4 kB / 0.6543 GB, free: 8.707 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5875, allocations: 0 / 0.6543 GB, free: 8.707 MB / 462.1 MB Notification: Performance of Templates: time 0.04331/0.6309, allocations: 26.45 MB / 0.6802 GB, free: 14.4 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) Environment - environmentSimulation: