Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1034/0.1034, allocations: 12.6 MB / 28.86 MB, free: 6.516 MB / 26.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 111.5 kB / 32.46 MB, free: 3.332 MB / 26.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 241.1 MB, free: 12.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 192.5 kB / 291.3 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4641/0.4641, allocations: 78.51 MB / 419.9 MB, free: 11.34 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 139.8 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.316, allocations: 68.1 MB / 0.556 GB, free: 33.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.006324/0.3223, allocations: 6.198 MB / 0.562 GB, free: 28.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003887/0.3263, allocations: 2.167 MB / 0.5642 GB, free: 26.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007191/0.327, allocations: 7.969 kB / 0.5642 GB, free: 26.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.3276, allocations: 235.4 kB / 0.5644 GB, free: 26.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.3302, allocations: 1.173 MB / 0.5655 GB, free: 25.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009131/0.3311, allocations: 480.7 kB / 0.566 GB, free: 25.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.3332, allocations: 1.843 MB / 0.5678 GB, free: 24.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.3335, allocations: 208.5 kB / 0.568 GB, free: 24.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009599/0.3345, allocations: 0.7076 MB / 0.5687 GB, free: 23.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009155/0.3354, allocations: 0.9581 MB / 0.5696 GB, free: 22.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.3357, allocations: 146.1 kB / 0.5698 GB, free: 22.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/0.3363, allocations: 310.9 kB / 0.5701 GB, free: 22.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.3366, allocations: 379.9 kB / 0.5704 GB, free: 22.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005347/0.3371, allocations: 0.6957 MB / 0.5711 GB, free: 22.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.3387, allocations: 1.715 MB / 0.5728 GB, free: 20.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3387, allocations: 1.188 kB / 0.5728 GB, free: 20.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3387, allocations: 0 / 0.5728 GB, free: 20.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.3387, allocations: 0 / 0.5728 GB, free: 20.75 MB / 398.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.01431/0.353, allocations: 3.714 MB / 0.5764 GB, free: 18.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3531, allocations: 15.98 kB / 0.5764 GB, free: 18.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/0.3561, allocations: 494.9 kB / 0.5769 GB, free: 17.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.3575, allocations: 0.8987 MB / 0.5778 GB, free: 17.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.3578, allocations: 242.2 kB / 0.578 GB, free: 16.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.358, allocations: 76 kB / 0.5781 GB, free: 16.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.3596, allocations: 0.8887 MB / 0.5789 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3596, allocations: 0 / 0.5789 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.3597, allocations: 28 kB / 0.579 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3597, allocations: 16 kB / 0.579 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.3617, allocations: 0.9889 MB / 0.58 GB, free: 14.76 MB / 398.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.004588/0.3663, allocations: 2.93 MB / 0.5828 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.3687, allocations: 1.09 MB / 0.5839 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.3698, allocations: 0.6597 MB / 0.5845 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.3699, allocations: 24.97 kB / 0.5845 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.3699, allocations: 43.56 kB / 0.5846 GB, free: 9.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=94): time 2.986e-06/0.37, allocations: 0 / 0.5846 GB, free: 9.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=94): time 0.02306/0.393, allocations: 6.485 MB / 0.5909 GB, free: 3.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.3931, allocations: 64.41 kB / 0.591 GB, free: 3.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.3946, allocations: 1.136 MB / 0.5921 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002998/0.3949, allocations: 49.7 kB / 0.5921 GB, free: 2.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.3951, allocations: 397.9 kB / 0.5925 GB, free: 1.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.3954, allocations: 359 kB / 0.5929 GB, free: 1.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005361/0.396, allocations: 367.2 kB / 0.5932 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 3.914e-05/0.396, allocations: 305.1 kB / 0.5935 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.3977, allocations: 0.9058 MB / 0.5944 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.3995, allocations: 0.9351 MB / 0.5953 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/0.4031, allocations: 1.813 MB / 0.5971 GB, free: 12.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4031, allocations: 0 / 0.5971 GB, free: 12.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006832/0.4099, allocations: 3.04 MB / 0.6 GB, free: 9.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.41, allocations: 8 kB / 0.6 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.41, allocations: 0 / 0.6 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008666/0.4187, allocations: 2.272 MB / 0.6023 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.4205, allocations: 319.5 kB / 0.6026 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005319/0.4258, allocations: 2.271 MB / 0.6048 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.4282, allocations: 190.5 kB / 0.605 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000345/0.4286, allocations: 67.97 kB / 0.605 GB, free: 4.789 MB / 414.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.0007134/0.4294, allocations: 245.5 kB / 0.6053 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.4298, allocations: 126.4 kB / 0.6054 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/0.4405, allocations: 3.293 MB / 0.6086 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.4406, allocations: 11.94 kB / 0.6086 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.4407, allocations: 0 / 0.6086 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.385e-05/0.4407, allocations: 7.969 kB / 0.6086 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.4429, allocations: 1.21 MB / 0.6098 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.443, allocations: 8 kB / 0.6098 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008125/0.4438, allocations: 115.8 kB / 0.6099 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005377/0.4492, allocations: 1.443 MB / 0.6113 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002495/0.4495, allocations: 20 kB / 0.6114 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/0.469, allocations: 7.818 MB / 0.619 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.469, allocations: 0 / 0.619 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.4818, allocations: 4.135 MB / 0.623 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006447/0.4825, allocations: 231.4 kB / 0.6232 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004804/0.483, allocations: 16 kB / 0.6233 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.4845, allocations: 87.84 kB / 0.6233 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006848/0.4852, allocations: 176.8 kB / 0.6235 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.4854, allocations: 27.98 kB / 0.6235 GB, free: 1.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001261/0.4867, allocations: 0.7602 MB / 0.6243 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4867, allocations: 0 / 0.6243 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001612/0.4883, allocations: 439.7 kB / 0.6247 GB, free: 380 kB / 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 (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.0003839/0.4887, allocations: 145 kB / 0.6248 GB, free: 224 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007014/0.4957, allocations: 2.375 MB / 0.6272 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4958, allocations: 4 kB / 0.6272 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00423/0.5, allocations: 1.315 MB / 0.6284 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.5014, allocations: 91.86 kB / 0.6285 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.5064, allocations: 2.433 MB / 0.6309 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007111/0.5071, allocations: 1.061 MB / 0.6319 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000657/0.5078, allocations: 99.64 kB / 0.632 GB, free: 8.777 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005163/0.5083, allocations: 83.42 kB / 0.6321 GB, free: 8.695 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5083, allocations: 0 / 0.6321 GB, free: 8.695 MB / 446.1 MB Notification: Performance of Templates: time 0.03942/0.5478, allocations: 23.76 MB / 0.6553 GB, free: 0.9727 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)