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.0752/0.0752, allocations: 12.61 MB / 28.91 MB, free: 0.6055 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.001132/0.001132, allocations: 111.5 kB / 32.51 MB, free: 3.547 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.245/1.245, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001274/0.001274, allocations: 195.5 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4328/0.4328, allocations: 78.5 MB / 420 MB, free: 11.26 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.002495/0.002495, allocations: 134.9 kB / 0.5565 GB, free: 28.63 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1185, allocations: 68.13 MB / 0.623 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007595/0.1261, allocations: 8.282 MB / 0.6311 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004905/0.1311, allocations: 2.585 MB / 0.6336 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009535/0.1321, allocations: 8 kB / 0.6336 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.1328, allocations: 305.4 kB / 0.6339 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003579/0.1364, allocations: 1.498 MB / 0.6354 GB, free: 2.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.1377, allocations: 0.6043 MB / 0.636 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002891/0.1406, allocations: 2.562 MB / 0.6385 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004946/0.1411, allocations: 320.8 kB / 0.6388 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.1424, allocations: 1.004 MB / 0.6398 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.1438, allocations: 1.354 MB / 0.6411 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003054/0.1441, allocations: 204 kB / 0.6413 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.1448, allocations: 387.8 kB / 0.6417 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003827/0.1452, allocations: 0.5254 MB / 0.6422 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000828/0.1461, allocations: 0.9868 MB / 0.6431 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.1483, allocations: 2.367 MB / 0.6455 GB, free: 8.398 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1483, allocations: 0 / 0.6455 GB, free: 8.398 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1483, allocations: 0 / 0.6455 GB, free: 8.398 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.673e-05/0.1483, allocations: 7.938 kB / 0.6455 GB, free: 8.391 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.01814/0.1665, allocations: 4.945 MB / 0.6503 GB, free: 3.383 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1665, allocations: 11.98 kB / 0.6503 GB, free: 3.371 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.1697, allocations: 0.5761 MB / 0.6509 GB, free: 2.793 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.1717, allocations: 1.208 MB / 0.652 GB, free: 1.535 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.172, allocations: 272.8 kB / 0.6523 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.1722, allocations: 123.9 kB / 0.6524 GB, free: 1.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.1742, allocations: 1.089 MB / 0.6535 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.1743, allocations: 0 / 0.6535 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.1744, allocations: 36.08 kB / 0.6535 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.1744, allocations: 20 kB / 0.6535 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.1766, allocations: 1.179 MB / 0.6547 GB, free: 14.78 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.007262/0.1839, allocations: 4.598 MB / 0.6592 GB, free: 9.961 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.1869, allocations: 2.151 MB / 0.6613 GB, free: 7.629 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.1883, allocations: 0.7934 MB / 0.6621 GB, free: 6.828 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.1884, allocations: 25.28 kB / 0.6621 GB, free: 6.805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1884, allocations: 47.88 kB / 0.6621 GB, free: 6.746 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 3.747e-06/0.1885, allocations: 3.938 kB / 0.6621 GB, free: 6.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=130): time 0.02421/0.2127, allocations: 6.691 MB / 0.6687 GB, free: 20 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.2128, allocations: 64.72 kB / 0.6687 GB, free: 15.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/0.2152, allocations: 1.651 MB / 0.6703 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003658/0.2156, allocations: 61.7 kB / 0.6704 GB, free: 14.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.216, allocations: 0.5496 MB / 0.6709 GB, free: 13.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005245/0.2165, allocations: 0.4893 MB / 0.6714 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007824/0.2173, allocations: 0.5094 MB / 0.6719 GB, free: 12.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.2174, allocations: 309.1 kB / 0.6722 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002058/0.2195, allocations: 1.142 MB / 0.6733 GB, free: 11.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.2217, allocations: 1.364 MB / 0.6746 GB, free: 9.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/0.2257, allocations: 2.342 MB / 0.6769 GB, free: 7.426 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.2258, allocations: 0 / 0.6769 GB, free: 7.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008636/0.2344, allocations: 4.082 MB / 0.6809 GB, free: 3.301 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.2345, allocations: 4 kB / 0.6809 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.2345, allocations: 4 kB / 0.6809 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009898/0.2444, allocations: 2.819 MB / 0.6837 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/0.2468, allocations: 487.4 kB / 0.6841 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/0.2522, allocations: 2.531 MB / 0.6866 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.2548, allocations: 241.8 kB / 0.6868 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/0.2551, allocations: 91.97 kB / 0.6869 GB, free: 13.1 MB / 0.4981 GB 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.0006028/0.2557, allocations: 313.3 kB / 0.6872 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.256, allocations: 169.8 kB / 0.6874 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009857/0.2659, allocations: 3.55 MB / 0.6909 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.2659, allocations: 12 kB / 0.6909 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.266, allocations: 3.984 kB / 0.6909 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.144e-05/0.266, allocations: 7.969 kB / 0.6909 GB, free: 9.023 MB / 0.4981 GB 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.01275/0.2788, allocations: 5.646 MB / 0.6964 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.2788, allocations: 4 kB / 0.6964 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.2798, allocations: 167.8 kB / 0.6966 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004974/0.2848, allocations: 1.484 MB / 0.698 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/0.285, allocations: 27.98 kB / 0.698 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/0.3021, allocations: 7.849 MB / 0.7057 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3021, allocations: 3.938 kB / 0.7057 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.3141, allocations: 4.566 MB / 0.7102 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007491/0.3149, allocations: 298.8 kB / 0.7105 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.3152, allocations: 28 kB / 0.7105 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.3165, allocations: 75.92 kB / 0.7106 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005446/0.3171, allocations: 193.5 kB / 0.7107 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/0.3172, allocations: 35.98 kB / 0.7108 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001401/0.3186, allocations: 1.09 MB / 0.7118 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3186, allocations: 0 / 0.7118 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001519/0.3201, allocations: 0.601 MB / 0.7124 GB, free: 2.605 MB / 0.5137 GB 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.0003131/0.3204, allocations: 159 kB / 0.7126 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2545/0.575, allocations: 3.001 MB / 0.7155 GB, free: 86.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.575, allocations: 3.875 kB / 0.7155 GB, free: 86.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004581/0.5796, allocations: 1.516 MB / 0.717 GB, free: 85.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.581, allocations: 129.7 kB / 0.7171 GB, free: 85.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006055/0.587, allocations: 3.511 MB / 0.7205 GB, free: 84.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008089/0.5879, allocations: 1.237 MB / 0.7217 GB, free: 83.56 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007803/0.5887, allocations: 114.2 kB / 0.7219 GB, free: 83.55 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/0.5887, allocations: 0 / 0.7219 GB, free: 83.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.03978/0.6285, allocations: 26.89 MB / 0.7481 GB, free: 72.27 MB / 0.5137 GB 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)