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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.001141, allocations: 182.7 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 222.9 MB / 239.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008897/0.00089, allocations: 113.1 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3975/0.3975, allocations: 78.51 MB / 418.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 68.17 kB / 497.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2412, allocations: 68.15 MB / 0.5524 GB, free: 19.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.004433/0.2456, allocations: 6.346 MB / 0.5586 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.2483, allocations: 2.137 MB / 0.5607 GB, free: 11.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.2487, allocations: 11.94 kB / 0.5607 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.249, allocations: 182.9 kB / 0.5609 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.2509, allocations: 1.086 MB / 0.5619 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.2516, allocations: 439 kB / 0.5624 GB, free: 9.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.2527, allocations: 1.774 MB / 0.5641 GB, free: 7.879 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.2529, allocations: 190.6 kB / 0.5643 GB, free: 7.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004095/0.2533, allocations: 0.6342 MB / 0.5649 GB, free: 7.043 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006046/0.2539, allocations: 0.8948 MB / 0.5658 GB, free: 6.145 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.2541, allocations: 84 kB / 0.5658 GB, free: 6.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.2545, allocations: 247.8 kB / 0.5661 GB, free: 5.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.2547, allocations: 322.6 kB / 0.5664 GB, free: 5.504 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.255, allocations: 0.6214 MB / 0.567 GB, free: 4.879 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000956/0.256, allocations: 1.656 MB / 0.5686 GB, free: 3.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.256, allocations: 0 / 0.5686 GB, free: 3.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.256, allocations: 4 kB / 0.5686 GB, free: 3.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.256, allocations: 0 / 0.5686 GB, free: 3.215 MB / 378.7 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.01306/0.2691, allocations: 3.711 MB / 0.5722 GB, free: 15.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2691, allocations: 8.031 kB / 0.5722 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002753/0.2719, allocations: 0.4911 MB / 0.5727 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.2733, allocations: 0.8947 MB / 0.5736 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/0.2736, allocations: 230.2 kB / 0.5738 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.2737, allocations: 84 kB / 0.5739 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.2756, allocations: 0.8926 MB / 0.5748 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2757, allocations: 0 / 0.5748 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.2758, allocations: 20 kB / 0.5748 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.2758, allocations: 19.94 kB / 0.5748 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.2781, allocations: 0.9889 MB / 0.5758 GB, free: 11.73 MB / 394.7 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.004965/0.283, allocations: 2.942 MB / 0.5786 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.2859, allocations: 1.094 MB / 0.5797 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.2873, allocations: 0.6636 MB / 0.5804 GB, free: 6.895 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.2874, allocations: 12.98 kB / 0.5804 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.2874, allocations: 47.55 kB / 0.5804 GB, free: 6.828 MB / 394.7 MB Notification: Performance of pre-optimization done (n=94): time 3.767e-06/0.2874, allocations: 3.938 kB / 0.5804 GB, free: 6.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.02582/0.3133, allocations: 6.485 MB / 0.5868 GB, free: 312 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3133, allocations: 60.41 kB / 0.5868 GB, free: 240 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.3151, allocations: 1.144 MB / 0.5879 GB, free: 15.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.3153, allocations: 45.7 kB / 0.588 GB, free: 15.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.3156, allocations: 393.9 kB / 0.5884 GB, free: 14.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003929/0.316, allocations: 362.9 kB / 0.5887 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007168/0.3168, allocations: 367.2 kB / 0.589 GB, free: 13.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.3169, allocations: 309.1 kB / 0.5893 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/0.3188, allocations: 0.9097 MB / 0.5902 GB, free: 12.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.3207, allocations: 0.9312 MB / 0.5911 GB, free: 11.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/0.3243, allocations: 1.813 MB / 0.5929 GB, free: 9.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.3244, allocations: 0 / 0.5929 GB, free: 9.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007017/0.3314, allocations: 3.048 MB / 0.5959 GB, free: 6.891 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3314, allocations: 4 kB / 0.5959 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3314, allocations: 0 / 0.5959 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008966/0.3404, allocations: 2.268 MB / 0.5981 GB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.3421, allocations: 323.5 kB / 0.5984 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005236/0.3473, allocations: 2.268 MB / 0.6006 GB, free: 2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.3494, allocations: 198.5 kB / 0.6008 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/0.3497, allocations: 63.97 kB / 0.6009 GB, free: 1.742 MB / 410.7 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.0005475/0.3502, allocations: 245.5 kB / 0.6011 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.3506, allocations: 122.4 kB / 0.6012 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.3615, allocations: 3.289 MB / 0.6044 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.3615, allocations: 15.94 kB / 0.6045 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.3615, allocations: 4 kB / 0.6045 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.3616, allocations: 3.984 kB / 0.6045 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.3633, allocations: 1.21 MB / 0.6056 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.3633, allocations: 3.984 kB / 0.6057 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.364, allocations: 107.8 kB / 0.6058 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005176/0.3692, allocations: 1.45 MB / 0.6072 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.3694, allocations: 20 kB / 0.6072 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01794/0.3873, allocations: 7.157 MB / 0.6142 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3873, allocations: 0 / 0.6142 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08258/0.4699, allocations: 29.31 MB / 0.6428 GB, free: 6.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.4702, allocations: 231.3 kB / 0.643 GB, free: 6.004 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.4704, allocations: 27.92 kB / 0.643 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.4715, allocations: 87.91 kB / 0.6431 GB, free: 5.891 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005/0.472, allocations: 168.7 kB / 0.6433 GB, free: 5.727 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.4721, allocations: 31.98 kB / 0.6433 GB, free: 5.695 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000914/0.473, allocations: 0.7603 MB / 0.6441 GB, free: 4.926 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.473, allocations: 3.938 kB / 0.6441 GB, free: 4.922 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001359/0.4744, allocations: 0.613 MB / 0.6447 GB, free: 4.309 MB / 458.7 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.0002358/0.4746, allocations: 148.8 kB / 0.6448 GB, free: 4.152 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00618/0.4808, allocations: 2.333 MB / 0.6471 GB, free: 1.816 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4808, allocations: 0 / 0.6471 GB, free: 1.816 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003786/0.4846, allocations: 1.297 MB / 0.6484 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008209/0.4855, allocations: 88.25 kB / 0.6484 GB, free: 428 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007343/0.4928, allocations: 4.001 MB / 0.6523 GB, free: 12.37 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.4934, allocations: 1.1 MB / 0.6534 GB, free: 11.24 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005066/0.4939, allocations: 119.6 kB / 0.6535 GB, free: 11.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.4942, allocations: 75.42 kB / 0.6536 GB, free: 11.05 MB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4942, allocations: 0 / 0.6536 GB, free: 11.05 MB / 474.7 MB Notification: Performance of Templates: time 0.2409/0.7352, allocations: 31.77 MB / 0.6846 GB, free: 116.4 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (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)