Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08875/0.08875, allocations: 12.2 MB / 27.17 MB, free: 1.523 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.0008396/0.0008397, allocations: 99.2 kB / 30.68 MB, free: 4.883 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.563/1.563, allocations: 205.4 MB / 239.5 MB, free: 11.55 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.001212/0.001212, allocations: 180.4 kB / 290.6 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.4848/0.4848, allocations: 78.53 MB / 420.1 MB, free: 48.67 MB / 334.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.0009832/0.0009835, allocations: 28 kB / 0.4894 GB, free: 2.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4192, allocations: 69.22 MB / 0.557 GB, free: 43.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006812/0.4261, allocations: 6.178 MB / 0.5631 GB, free: 41.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005238/0.4313, allocations: 1.922 MB / 0.565 GB, free: 39.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.4325, allocations: 11.56 kB / 0.565 GB, free: 39.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.4333, allocations: 176.1 kB / 0.5651 GB, free: 39.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.4355, allocations: 0.6786 MB / 0.5658 GB, free: 39.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.437, allocations: 0.5364 MB / 0.5663 GB, free: 39.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.4389, allocations: 1.484 MB / 0.5678 GB, free: 38.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004709/0.4394, allocations: 261 kB / 0.568 GB, free: 38.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008662/0.4402, allocations: 0.5824 MB / 0.5686 GB, free: 38.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008962/0.4412, allocations: 0.774 MB / 0.5693 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.4413, allocations: 63.66 kB / 0.5694 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.4419, allocations: 187.5 kB / 0.5696 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.4421, allocations: 266.3 kB / 0.5698 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.4424, allocations: 236.8 kB / 0.5701 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.4435, allocations: 1.281 MB / 0.5713 GB, free: 36.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4435, allocations: 0 / 0.5713 GB, free: 36.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4435, allocations: 0 / 0.5713 GB, free: 36.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.4435, allocations: 0 / 0.5713 GB, free: 36.97 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007701/0.4512, allocations: 2.607 MB / 0.5739 GB, free: 35.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4513, allocations: 12.55 kB / 0.5739 GB, free: 35.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004778/0.456, allocations: 0.7862 MB / 0.5746 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.4577, allocations: 0.8847 MB / 0.5755 GB, free: 35.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.458, allocations: 267.3 kB / 0.5758 GB, free: 34.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.4582, allocations: 96.19 kB / 0.5759 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.4604, allocations: 1.165 MB / 0.577 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.4605, allocations: 0 / 0.577 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/0.4606, allocations: 31.61 kB / 0.577 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.4606, allocations: 18.98 kB / 0.577 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.4625, allocations: 1.06 MB / 0.5781 GB, free: 34.04 MB / 430.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.005972/0.4684, allocations: 4.003 MB / 0.582 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006917/0.4754, allocations: 2.944 MB / 0.5849 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.4767, allocations: 0.7564 MB / 0.5856 GB, free: 30.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.4768, allocations: 14.88 kB / 0.5856 GB, free: 30.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/0.4783, allocations: 0.9071 MB / 0.5865 GB, free: 30.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.036e-06/0.4783, allocations: 0 / 0.5865 GB, free: 30.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02705/0.5053, allocations: 8.608 MB / 0.5949 GB, free: 28.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.5054, allocations: 118.7 kB / 0.595 GB, free: 28.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.5079, allocations: 1.129 MB / 0.5961 GB, free: 28.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.5081, allocations: 46.95 kB / 0.5962 GB, free: 28.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.5086, allocations: 0.4923 MB / 0.5966 GB, free: 27.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004864/0.5091, allocations: 371.2 kB / 0.597 GB, free: 27.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.5093, allocations: 30.59 kB / 0.597 GB, free: 27.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5095, allocations: 366.9 kB / 0.5974 GB, free: 27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.5114, allocations: 0.8502 MB / 0.5982 GB, free: 26.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.5135, allocations: 1.029 MB / 0.5992 GB, free: 26.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.5157, allocations: 0.9897 MB / 0.6002 GB, free: 25.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.5158, allocations: 0.9688 kB / 0.6002 GB, free: 25.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01542/0.5312, allocations: 5.311 MB / 0.6054 GB, free: 24.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.5313, allocations: 62.75 kB / 0.6054 GB, free: 24.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.5313, allocations: 3.594 kB / 0.6054 GB, free: 24.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006694/0.538, allocations: 2.015 MB / 0.6074 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.5395, allocations: 297.2 kB / 0.6077 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/0.5585, allocations: 10.39 MB / 0.6178 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.5606, allocations: 246.7 kB / 0.6181 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/0.5609, allocations: 67.92 kB / 0.6181 GB, free: 13.1 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007785/0.5617, allocations: 306.7 kB / 0.6184 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.562, allocations: 130.4 kB / 0.6185 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.5734, allocations: 4.748 MB / 0.6232 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.5734, allocations: 11.95 kB / 0.6232 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/0.5735, allocations: 12 kB / 0.6232 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.5735, allocations: 3.984 kB / 0.6232 GB, free: 7.855 MB / 430.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.01323/0.5867, allocations: 6.392 MB / 0.6294 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.5867, allocations: 0 / 0.6294 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.5873, allocations: 103.9 kB / 0.6295 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005135/0.5925, allocations: 1.883 MB / 0.6314 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.5926, allocations: 20 kB / 0.6314 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/0.6122, allocations: 9.676 MB / 0.6408 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6122, allocations: 0 / 0.6408 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/0.6268, allocations: 5.713 MB / 0.6464 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/0.6274, allocations: 231.2 kB / 0.6466 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003224/0.6278, allocations: 20 kB / 0.6467 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.6291, allocations: 147.9 kB / 0.6468 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005854/0.6297, allocations: 196.7 kB / 0.647 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.09e-05/0.6298, allocations: 27.94 kB / 0.647 GB, free: 15.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001319/0.6311, allocations: 0.7673 MB / 0.6478 GB, free: 14.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6311, allocations: 0 / 0.6478 GB, free: 14.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001813/0.6329, allocations: 495.5 kB / 0.6482 GB, free: 13.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003139/0.6333, allocations: 131.1 kB / 0.6484 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00685/0.6401, allocations: 2.988 MB / 0.6513 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6401, allocations: 0 / 0.6513 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004294/0.6444, allocations: 1.835 MB / 0.6531 GB, free: 8.703 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.6455, allocations: 118.7 kB / 0.6532 GB, free: 8.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/0.6506, allocations: 2.86 MB / 0.656 GB, free: 5.707 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008762/0.6515, allocations: 1.128 MB / 0.6571 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005309/0.652, allocations: 120.3 kB / 0.6572 GB, free: 4.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.6523, allocations: 83.41 kB / 0.6573 GB, free: 4.348 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.6523, allocations: 0 / 0.6573 GB, free: 4.348 MB / 462.1 MB Notification: Performance of Templates: time 0.03414/0.6865, allocations: 22.17 MB / 0.6789 GB, free: 14.2 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: