Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08009/0.08009, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 103.4 kB / 31.83 MB, free: 3.898 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.287/1.287, allocations: 205.1 MB / 240.4 MB, free: 12.34 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.001327/0.001327, allocations: 199.3 kB / 290.7 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4133/0.4133, allocations: 78.5 MB / 419.3 MB, free: 10.75 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.002709/0.002709, allocations: 138.6 kB / 0.5558 GB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1243, allocations: 68.12 MB / 0.6224 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.008728/0.133, allocations: 8.283 MB / 0.6305 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005297/0.1384, allocations: 2.57 MB / 0.633 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.1397, allocations: 12 kB / 0.633 GB, free: 2.363 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.1407, allocations: 309.4 kB / 0.6333 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.145, allocations: 1.539 MB / 0.6348 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.1466, allocations: 0.6044 MB / 0.6354 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003402/0.15, allocations: 2.57 MB / 0.6379 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006142/0.1506, allocations: 320.8 kB / 0.6382 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.1523, allocations: 1.004 MB / 0.6392 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.154, allocations: 1.354 MB / 0.6405 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003684/0.1544, allocations: 208 kB / 0.6407 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007315/0.1552, allocations: 379.8 kB / 0.641 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004146/0.1556, allocations: 0.5215 MB / 0.6415 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009149/0.1565, allocations: 0.9907 MB / 0.6425 GB, free: 8.555 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.1589, allocations: 2.371 MB / 0.6448 GB, free: 6.176 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1589, allocations: 4 kB / 0.6448 GB, free: 6.172 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1589, allocations: 0 / 0.6448 GB, free: 6.172 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.523e-05/0.159, allocations: 0 / 0.6448 GB, free: 6.172 MB / 462.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.0214/0.1804, allocations: 4.949 MB / 0.6497 GB, free: 1.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.1804, allocations: 11.98 kB / 0.6497 GB, free: 1.148 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/0.184, allocations: 0.5722 MB / 0.6502 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.1863, allocations: 1.212 MB / 0.6514 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/0.1866, allocations: 268.8 kB / 0.6517 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.1868, allocations: 115.9 kB / 0.6518 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.1891, allocations: 1.096 MB / 0.6529 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1891, allocations: 0 / 0.6529 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.1892, allocations: 36 kB / 0.6529 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.1892, allocations: 20 kB / 0.6529 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.1916, allocations: 1.179 MB / 0.6541 GB, free: 12.56 MB / 478.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.007684/0.1993, allocations: 4.606 MB / 0.6586 GB, free: 7.734 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/0.2027, allocations: 2.148 MB / 0.6607 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.2043, allocations: 0.7973 MB / 0.6614 GB, free: 4.602 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.2044, allocations: 21.28 kB / 0.6615 GB, free: 4.582 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2044, allocations: 51.81 kB / 0.6615 GB, free: 4.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 3.327e-06/0.2044, allocations: 0 / 0.6615 GB, free: 4.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=130): time 0.02818/0.2326, allocations: 6.683 MB / 0.668 GB, free: 13.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.2327, allocations: 64.72 kB / 0.6681 GB, free: 13.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/0.2352, allocations: 1.659 MB / 0.6697 GB, free: 12.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.2354, allocations: 61.69 kB / 0.6698 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.2359, allocations: 0.5497 MB / 0.6703 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005062/0.2364, allocations: 0.4933 MB / 0.6708 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008274/0.2372, allocations: 0.5094 MB / 0.6713 GB, free: 10.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.2373, allocations: 305.1 kB / 0.6716 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.2396, allocations: 1.145 MB / 0.6727 GB, free: 8.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.242, allocations: 1.356 MB / 0.674 GB, free: 7.586 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004467/0.2465, allocations: 2.338 MB / 0.6763 GB, free: 5.207 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.2465, allocations: 0 / 0.6763 GB, free: 5.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009594/0.2562, allocations: 4.09 MB / 0.6803 GB, free: 1.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.2562, allocations: 4 kB / 0.6803 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.2562, allocations: 4.188 kB / 0.6803 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2675/0.5237, allocations: 2.823 MB / 0.6831 GB, free: 53.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.5265, allocations: 477.5 kB / 0.6835 GB, free: 53.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/0.5325, allocations: 2.533 MB / 0.686 GB, free: 52.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/0.5352, allocations: 244.2 kB / 0.6862 GB, free: 52.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.5354, allocations: 90.72 kB / 0.6863 GB, free: 52.95 MB / 494.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 (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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0005887/0.536, allocations: 314.2 kB / 0.6866 GB, free: 52.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/0.5363, allocations: 166.5 kB / 0.6868 GB, free: 52.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.5485, allocations: 3.541 MB / 0.6902 GB, free: 51.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.5485, allocations: 13.34 kB / 0.6902 GB, free: 51.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.5485, allocations: 0.6875 kB / 0.6902 GB, free: 51.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/0.5486, allocations: 14.81 kB / 0.6903 GB, free: 51.88 MB / 494.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.01419/0.5627, allocations: 5.656 MB / 0.6958 GB, free: 49.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.5628, allocations: 5.766 kB / 0.6958 GB, free: 49.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.5638, allocations: 164.2 kB / 0.6959 GB, free: 49.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005532/0.5694, allocations: 1.482 MB / 0.6974 GB, free: 49.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.5696, allocations: 30.89 kB / 0.6974 GB, free: 49.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/0.5882, allocations: 7.848 MB / 0.7051 GB, free: 45.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5883, allocations: 7.938 kB / 0.7051 GB, free: 45.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/0.6011, allocations: 4.55 MB / 0.7095 GB, free: 43.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006568/0.6018, allocations: 303.1 kB / 0.7098 GB, free: 43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005039/0.6023, allocations: 23.94 kB / 0.7098 GB, free: 42.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.604, allocations: 82.8 kB / 0.7099 GB, free: 42.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005927/0.6047, allocations: 199.6 kB / 0.7101 GB, free: 42.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.6048, allocations: 39.48 kB / 0.7102 GB, free: 42.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001614/0.6064, allocations: 1.084 MB / 0.7112 GB, free: 42.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.6064, allocations: 0 / 0.7112 GB, free: 42.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002066/0.6085, allocations: 0.5981 MB / 0.7118 GB, free: 42.14 MB / 494.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 (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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002986/0.6088, allocations: 143.2 kB / 0.7119 GB, free: 42.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007687/0.6165, allocations: 3.017 MB / 0.7149 GB, free: 40.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6165, allocations: 0 / 0.7149 GB, free: 40.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004158/0.6207, allocations: 1.523 MB / 0.7164 GB, free: 38.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.6219, allocations: 127.7 kB / 0.7165 GB, free: 38.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/0.6269, allocations: 3.477 MB / 0.7199 GB, free: 35.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.6273, allocations: 1.234 MB / 0.7211 GB, free: 33.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006999/0.628, allocations: 163.2 kB / 0.7212 GB, free: 33.74 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.6285, allocations: 111.4 kB / 0.7214 GB, free: 33.63 MB / 494.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6285, allocations: 0 / 0.7214 GB, free: 33.63 MB / 494.1 MB Notification: Performance of Templates: time 0.03596/0.6645, allocations: 30.85 MB / 0.7515 GB, free: 2.816 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)