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.07765/0.07765, allocations: 12.2 MB / 27.16 MB, free: 112 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.0008971/0.0008971, allocations: 111.1 kB / 30.67 MB, free: 6.422 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.388/1.388, allocations: 205.4 MB / 239.5 MB, free: 10.69 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 189 kB / 290.6 MB, free: 8.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4214/0.4214, allocations: 78.49 MB / 420.1 MB, free: 6.598 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.0008939/0.000894, allocations: 29.3 kB / 0.4894 GB, free: 38.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1276, allocations: 69.26 MB / 0.557 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006099/0.1338, allocations: 5.889 MB / 0.5628 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.138, allocations: 1.976 MB / 0.5647 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009204/0.1389, allocations: 12 kB / 0.5647 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.1397, allocations: 174.7 kB / 0.5649 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.1417, allocations: 0.7384 MB / 0.5656 GB, free: 40 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1428, allocations: 0.5215 MB / 0.5661 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.1441, allocations: 1.034 MB / 0.5671 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.1444, allocations: 261.8 kB / 0.5674 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005716/0.145, allocations: 0.5914 MB / 0.5679 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007367/0.1458, allocations: 0.7509 MB / 0.5687 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1459, allocations: 64 kB / 0.5687 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.1462, allocations: 183.8 kB / 0.5689 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1464, allocations: 270.8 kB / 0.5692 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.1466, allocations: 233 kB / 0.5694 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009795/0.1476, allocations: 1.243 MB / 0.5706 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1476, allocations: 0 / 0.5706 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1477, allocations: 0 / 0.5706 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1477, allocations: 0 / 0.5706 GB, free: 10.88 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008101/0.1558, allocations: 2.603 MB / 0.5731 GB, free: 8.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1558, allocations: 11.98 kB / 0.5732 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0047/0.1605, allocations: 0.7865 MB / 0.5739 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.1619, allocations: 0.8876 MB / 0.5748 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/0.1622, allocations: 272.2 kB / 0.5751 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.1624, allocations: 87.91 kB / 0.5751 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.1645, allocations: 1.157 MB / 0.5763 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1645, allocations: 3.984 kB / 0.5763 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/0.1646, allocations: 28 kB / 0.5763 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.1646, allocations: 24 kB / 0.5763 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.1666, allocations: 1.058 MB / 0.5774 GB, free: 3.801 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.00625/0.1729, allocations: 4.201 MB / 0.5815 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007719/0.1806, allocations: 2.942 MB / 0.5843 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.583e-05/0.1807, allocations: 9 kB / 0.5843 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001611/0.1823, allocations: 0.8958 MB / 0.5852 GB, free: 11.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 2.655e-06/0.1824, allocations: 0 / 0.5852 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.02863/0.211, allocations: 8.61 MB / 0.5936 GB, free: 2.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.2111, allocations: 115.8 kB / 0.5937 GB, free: 2.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.2127, allocations: 1.135 MB / 0.5948 GB, free: 1.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.2128, allocations: 45.7 kB / 0.5949 GB, free: 1.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.2132, allocations: 0.497 MB / 0.5954 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000343/0.2135, allocations: 362.9 kB / 0.5957 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.2136, allocations: 32 kB / 0.5957 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2138, allocations: 365.9 kB / 0.5961 GB, free: 148 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.2155, allocations: 0.8512 MB / 0.5969 GB, free: 15.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.2174, allocations: 1.02 MB / 0.5979 GB, free: 14.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.2192, allocations: 0.9855 MB / 0.5989 GB, free: 13.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.2193, allocations: 0 / 0.5989 GB, free: 13.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01481/0.2341, allocations: 5.314 MB / 0.6041 GB, free: 7.895 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.2342, allocations: 59.36 kB / 0.6041 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.2342, allocations: 8 kB / 0.6041 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006887/0.2411, allocations: 2.014 MB / 0.6061 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.2424, allocations: 295.6 kB / 0.6064 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/0.2644, allocations: 10.83 MB / 0.617 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.2664, allocations: 246.7 kB / 0.6172 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.2666, allocations: 55.98 kB / 0.6173 GB, free: 10.11 MB / 446.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.0005545/0.2671, allocations: 320.3 kB / 0.6176 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.2673, allocations: 126.4 kB / 0.6177 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/0.2805, allocations: 4.752 MB / 0.6223 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.2806, allocations: 12 kB / 0.6223 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.2806, allocations: 19.83 kB / 0.6223 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.2806, allocations: 3.984 kB / 0.6224 GB, free: 4.84 MB / 446.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.01501/0.2956, allocations: 6.442 MB / 0.6286 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.2957, allocations: 4 kB / 0.6286 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/0.2963, allocations: 99.89 kB / 0.6287 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005727/0.3021, allocations: 1.884 MB / 0.6306 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.3022, allocations: 24 kB / 0.6306 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/0.3224, allocations: 10.11 MB / 0.6405 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.3224, allocations: 4 kB / 0.6405 GB, free: 1.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.3378, allocations: 5.713 MB / 0.6461 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.3383, allocations: 235.2 kB / 0.6463 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.3385, allocations: 19.98 kB / 0.6463 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.3397, allocations: 147.9 kB / 0.6464 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005682/0.3403, allocations: 204.5 kB / 0.6466 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/0.3403, allocations: 27.98 kB / 0.6467 GB, free: 11.47 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.3415, allocations: 0.7595 MB / 0.6474 GB, free: 10.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3415, allocations: 0 / 0.6474 GB, free: 10.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001314/0.3428, allocations: 495.5 kB / 0.6479 GB, free: 10.22 MB / 478.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.0002628/0.3431, allocations: 134.5 kB / 0.648 GB, free: 10.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006665/0.3497, allocations: 2.986 MB / 0.6509 GB, free: 7.039 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.3498, allocations: 0.75 kB / 0.6509 GB, free: 7.039 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004306/0.3541, allocations: 1.834 MB / 0.6527 GB, free: 5.168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.3548, allocations: 92.59 kB / 0.6528 GB, free: 5.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.3588, allocations: 2.883 MB / 0.6556 GB, free: 2.172 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.3595, allocations: 1.167 MB / 0.6568 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004145/0.3599, allocations: 124.3 kB / 0.6569 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.3602, allocations: 75.42 kB / 0.6569 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3602, allocations: 0 / 0.6569 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of Templates: time 0.2444/0.6046, allocations: 22.12 MB / 0.6785 GB, free: 88.23 MB / 478.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: