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.09462/0.09462, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.00165/0.00165, allocations: 200.4 kB / 290.6 MB, free: 13.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4813/0.4813, allocations: 78.5 MB / 419.2 MB, free: 11.32 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.002945/0.002946, allocations: 135.8 kB / 499.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4407, allocations: 68.11 MB / 0.5546 GB, free: 32.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.007743/0.4485, allocations: 6.193 MB / 0.5606 GB, free: 28.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004837/0.4534, allocations: 2.171 MB / 0.5627 GB, free: 26.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009521/0.4544, allocations: 8.656 kB / 0.5627 GB, free: 26.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.4551, allocations: 227.2 kB / 0.563 GB, free: 26.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.4582, allocations: 1.183 MB / 0.5641 GB, free: 25.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.4593, allocations: 477.9 kB / 0.5646 GB, free: 24.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.4617, allocations: 1.829 MB / 0.5664 GB, free: 23.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004344/0.4622, allocations: 214.5 kB / 0.5666 GB, free: 23.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009222/0.4631, allocations: 0.705 MB / 0.5672 GB, free: 23.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009494/0.4641, allocations: 0.9499 MB / 0.5682 GB, free: 22.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.4643, allocations: 146.3 kB / 0.5683 GB, free: 22.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007428/0.4651, allocations: 321.6 kB / 0.5686 GB, free: 22.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.4654, allocations: 376.3 kB / 0.569 GB, free: 22.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.466, allocations: 0.6874 MB / 0.5696 GB, free: 21.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.4679, allocations: 1.701 MB / 0.5713 GB, free: 20.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4679, allocations: 0 / 0.5713 GB, free: 20.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.4679, allocations: 4 kB / 0.5713 GB, free: 20.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.4679, allocations: 3.938 kB / 0.5713 GB, free: 20.49 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.01603/0.484, allocations: 3.709 MB / 0.5749 GB, free: 18.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/0.4841, allocations: 13.2 kB / 0.575 GB, free: 18.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/0.4871, allocations: 0.4969 MB / 0.5754 GB, free: 18.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.4886, allocations: 0.8909 MB / 0.5763 GB, free: 17.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.4889, allocations: 234.1 kB / 0.5765 GB, free: 16.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.489, allocations: 84 kB / 0.5766 GB, free: 16.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.4908, allocations: 0.8926 MB / 0.5775 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.4908, allocations: 0 / 0.5775 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-05/0.4909, allocations: 24 kB / 0.5775 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.4909, allocations: 16 kB / 0.5775 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.493, allocations: 0.9927 MB / 0.5785 GB, free: 14.86 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.004613/0.4976, allocations: 2.934 MB / 0.5814 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.5001, allocations: 1.09 MB / 0.5824 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.5013, allocations: 0.6636 MB / 0.5831 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.232e-05/0.5014, allocations: 16.97 kB / 0.5831 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.5014, allocations: 43.56 kB / 0.5831 GB, free: 9.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=94): time 3.697e-06/0.5014, allocations: 0 / 0.5831 GB, free: 9.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=94): time 0.02497/0.5264, allocations: 6.489 MB / 0.5895 GB, free: 3.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.5265, allocations: 60.41 kB / 0.5895 GB, free: 3.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.5283, allocations: 1.144 MB / 0.5906 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002696/0.5286, allocations: 45.7 kB / 0.5907 GB, free: 2.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.5289, allocations: 393.9 kB / 0.5911 GB, free: 1.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/0.5293, allocations: 363 kB / 0.5914 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/0.5299, allocations: 363.2 kB / 0.5917 GB, free: 1.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.535e-05/0.53, allocations: 305.1 kB / 0.592 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/0.5317, allocations: 0.9097 MB / 0.5929 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.5336, allocations: 0.9351 MB / 0.5938 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/0.5372, allocations: 1.809 MB / 0.5956 GB, free: 13.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.5372, allocations: 0 / 0.5956 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007033/0.5443, allocations: 3.048 MB / 0.5986 GB, free: 10.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.5443, allocations: 8 kB / 0.5986 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.5443, allocations: 0 / 0.5986 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008754/0.5531, allocations: 2.28 MB / 0.6008 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.5547, allocations: 319.5 kB / 0.6011 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0051/0.5598, allocations: 2.267 MB / 0.6033 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.562, allocations: 198.5 kB / 0.6035 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.5621, allocations: 63.97 kB / 0.6036 GB, free: 4.871 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.0005/0.5627, allocations: 253.5 kB / 0.6038 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.563, allocations: 118.4 kB / 0.6039 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.5742, allocations: 3.289 MB / 0.6072 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/0.5743, allocations: 11.94 kB / 0.6072 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.5743, allocations: 8 kB / 0.6072 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.171e-05/0.5744, allocations: 11.97 kB / 0.6072 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.5769, allocations: 1.214 MB / 0.6084 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5769, allocations: 0 / 0.6084 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/0.5776, allocations: 115.8 kB / 0.6085 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005466/0.5831, allocations: 1.446 MB / 0.6099 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.5833, allocations: 20 kB / 0.6099 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02091/0.6042, allocations: 7.822 MB / 0.6176 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6042, allocations: 0 / 0.6176 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/0.6178, allocations: 4.143 MB / 0.6216 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/0.6187, allocations: 227.4 kB / 0.6218 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004772/0.6192, allocations: 23.94 kB / 0.6218 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.6207, allocations: 87.91 kB / 0.6219 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000605/0.6214, allocations: 172.8 kB / 0.6221 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/0.6215, allocations: 27.98 kB / 0.6221 GB, free: 1.629 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.6229, allocations: 0.7602 MB / 0.6229 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6229, allocations: 0 / 0.6229 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001956/0.6249, allocations: 435.7 kB / 0.6233 GB, free: 444 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.0003814/0.6253, allocations: 141 kB / 0.6234 GB, free: 292 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007933/0.6332, allocations: 2.402 MB / 0.6257 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.6333, allocations: 112 / 0.6257 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004444/0.6377, allocations: 1.322 MB / 0.627 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.6396, allocations: 91.86 kB / 0.6271 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/0.646, allocations: 2.461 MB / 0.6295 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.6471, allocations: 1.061 MB / 0.6306 GB, free: 8.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000841/0.648, allocations: 107.6 kB / 0.6307 GB, free: 8.785 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005826/0.6486, allocations: 75.42 kB / 0.6307 GB, free: 8.711 MB / 446.1 MB Notification: Performance of SimCode: time 2.635e-06/0.6486, allocations: 0 / 0.6307 GB, free: 8.711 MB / 446.1 MB Notification: Performance of Templates: time 0.04836/0.6969, allocations: 23.76 MB / 0.6539 GB, free: 0.9844 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)