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.001322/0.001322, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.475/1.475, allocations: 222.9 MB / 238.8 MB, free: 4.746 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.00175/0.00175, allocations: 196.4 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.533/0.533, allocations: 91.89 MB / 431.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001762, allocations: 71.89 kB / 0.5012 GB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4719, allocations: 71.27 MB / 0.5708 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005902/0.4779, allocations: 6.362 MB / 0.577 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.4828, allocations: 2.144 MB / 0.5791 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.4843, allocations: 8.781 kB / 0.5791 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007741/0.4851, allocations: 179.4 kB / 0.5793 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.4876, allocations: 0.8004 MB / 0.5801 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.4886, allocations: 0.5289 MB / 0.5806 GB, free: 30.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001906/0.4905, allocations: 1.579 MB / 0.5821 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.4909, allocations: 190.8 kB / 0.5823 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007085/0.4916, allocations: 0.6004 MB / 0.5829 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007463/0.4924, allocations: 0.8597 MB / 0.5837 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.4925, allocations: 85.25 kB / 0.5838 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006115/0.4932, allocations: 247.1 kB / 0.584 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.4934, allocations: 310.4 kB / 0.5843 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.4939, allocations: 0.6144 MB / 0.5849 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.4957, allocations: 1.619 MB / 0.5865 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4957, allocations: 4 kB / 0.5865 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4957, allocations: 1.312 kB / 0.5865 GB, free: 28.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.4957, allocations: 6.875 kB / 0.5865 GB, free: 28.07 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.0134/0.5091, allocations: 3.145 MB / 0.5896 GB, free: 26.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.5092, allocations: 9.156 kB / 0.5896 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003333/0.5125, allocations: 493.7 kB / 0.5901 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.5143, allocations: 0.9014 MB / 0.591 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.5146, allocations: 228.2 kB / 0.5912 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.5148, allocations: 84.52 kB / 0.5913 GB, free: 25.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.5168, allocations: 0.8896 MB / 0.5921 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.5169, allocations: 3.938 kB / 0.5921 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.564e-05/0.5169, allocations: 25.12 kB / 0.5922 GB, free: 25.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.517, allocations: 15.94 kB / 0.5922 GB, free: 25.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.5193, allocations: 0.9934 MB / 0.5931 GB, free: 25.24 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.00555/0.5249, allocations: 2.937 MB / 0.596 GB, free: 23.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.5278, allocations: 1.088 MB / 0.5971 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.5292, allocations: 0.6672 MB / 0.5977 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.5294, allocations: 21.12 kB / 0.5977 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.5294, allocations: 43.05 kB / 0.5978 GB, free: 22.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.106e-06/0.5294, allocations: 0 / 0.5978 GB, free: 22.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03027/0.5597, allocations: 6.484 MB / 0.6041 GB, free: 21.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.5598, allocations: 61.72 kB / 0.6042 GB, free: 21.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.5628, allocations: 1.139 MB / 0.6053 GB, free: 21.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005136/0.5633, allocations: 50.61 kB / 0.6053 GB, free: 21.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004198/0.5638, allocations: 390.3 kB / 0.6057 GB, free: 20.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005609/0.5643, allocations: 360.2 kB / 0.6061 GB, free: 20.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007941/0.5651, allocations: 368.2 kB / 0.6064 GB, free: 20.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.5652, allocations: 307.1 kB / 0.6067 GB, free: 20.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.5676, allocations: 0.9072 MB / 0.6076 GB, free: 19.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.5698, allocations: 0.9315 MB / 0.6085 GB, free: 19.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.5735, allocations: 1.816 MB / 0.6103 GB, free: 18.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5736, allocations: 0 / 0.6103 GB, free: 18.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007692/0.5813, allocations: 3.038 MB / 0.6132 GB, free: 17.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.5813, allocations: 5.062 kB / 0.6132 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.5813, allocations: 1.25 kB / 0.6132 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009012/0.5904, allocations: 2.28 MB / 0.6155 GB, free: 16.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.5924, allocations: 316.1 kB / 0.6158 GB, free: 16.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004516/0.5969, allocations: 2.277 MB / 0.618 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.5993, allocations: 202.5 kB / 0.6182 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.5994, allocations: 59.98 kB / 0.6182 GB, free: 13.96 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.0004842/0.5999, allocations: 242.5 kB / 0.6185 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.6001, allocations: 118.4 kB / 0.6186 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009394/0.6095, allocations: 3.301 MB / 0.6218 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.6096, allocations: 15.94 kB / 0.6218 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.6096, allocations: 3.938 kB / 0.6218 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.6096, allocations: 19.84 kB / 0.6218 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.6113, allocations: 1.203 MB / 0.623 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6114, allocations: 3.938 kB / 0.623 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/0.612, allocations: 107.9 kB / 0.6231 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004667/0.6167, allocations: 1.442 MB / 0.6245 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.6168, allocations: 23.98 kB / 0.6246 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/0.6324, allocations: 7.137 MB / 0.6315 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.6325, allocations: 0 / 0.6315 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/0.6454, allocations: 4.135 MB / 0.6356 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007295/0.6461, allocations: 231.4 kB / 0.6358 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.6464, allocations: 20 kB / 0.6358 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.6476, allocations: 87.91 kB / 0.6359 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000616/0.6483, allocations: 168.7 kB / 0.6361 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/0.6483, allocations: 31.92 kB / 0.6361 GB, free: 11.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001093/0.6494, allocations: 0.7602 MB / 0.6368 GB, free: 10.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6495, allocations: 0 / 0.6368 GB, free: 10.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001365/0.6508, allocations: 435.7 kB / 0.6372 GB, free: 10.24 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.0002974/0.6511, allocations: 151.1 kB / 0.6374 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006704/0.6578, allocations: 2.345 MB / 0.6397 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6579, allocations: 0 / 0.6397 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004106/0.662, allocations: 1.282 MB / 0.6409 GB, free: 6.438 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.6632, allocations: 92.34 kB / 0.641 GB, free: 6.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/0.6683, allocations: 2.823 MB / 0.6438 GB, free: 3.504 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.669, allocations: 1.054 MB / 0.6448 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005927/0.6696, allocations: 111.6 kB / 0.6449 GB, free: 2.309 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.6699, allocations: 71.42 kB / 0.645 GB, free: 2.238 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6699, allocations: 0 / 0.645 GB, free: 2.238 MB / 446.1 MB Notification: Performance of Templates: time 0.03398/0.7039, allocations: 21.4 MB / 0.6659 GB, free: 12.87 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)