Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08587/0.08587, allocations: 12.2 MB / 27.17 MB, free: 1.133 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.0008399/0.0008401, allocations: 99.25 kB / 30.67 MB, free: 4.879 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.577/1.577, allocations: 205.4 MB / 239.5 MB, free: 10.7 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.00152/0.001519, allocations: 176.5 kB / 290.6 MB, free: 8.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4494/0.4494, allocations: 78.53 MB / 420.1 MB, free: 6.535 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.000885/0.000885, allocations: 32.62 kB / 0.4894 GB, free: 37.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1514, allocations: 69.25 MB / 0.5571 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007258/0.1587, allocations: 6.001 MB / 0.5629 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004708/0.1634, allocations: 1.87 MB / 0.5648 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.1648, allocations: 8 kB / 0.5648 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.1659, allocations: 170.8 kB / 0.5649 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.1688, allocations: 0.6628 MB / 0.5656 GB, free: 52 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1704, allocations: 0.5138 MB / 0.5661 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.1728, allocations: 1.405 MB / 0.5674 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007065/0.1735, allocations: 261.8 kB / 0.5677 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.1747, allocations: 0.556 MB / 0.5682 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.1761, allocations: 0.7273 MB / 0.5689 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004055/0.1765, allocations: 56 kB / 0.569 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008791/0.1774, allocations: 195.8 kB / 0.5692 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005289/0.1779, allocations: 246.8 kB / 0.5694 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005723/0.1785, allocations: 233 kB / 0.5696 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.1805, allocations: 1.223 MB / 0.5708 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1805, allocations: 0 / 0.5708 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.1805, allocations: 0 / 0.5708 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001022/0.1806, allocations: 0 / 0.5708 GB, free: 10.62 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008856/0.1895, allocations: 2.509 MB / 0.5733 GB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1896, allocations: 11.98 kB / 0.5733 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00498/0.1946, allocations: 0.7865 MB / 0.5741 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.1968, allocations: 0.8405 MB / 0.5749 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/0.1972, allocations: 272.1 kB / 0.5752 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.1976, allocations: 83.91 kB / 0.5752 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.2002, allocations: 1.145 MB / 0.5764 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.2003, allocations: 0 / 0.5764 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.2004, allocations: 32 kB / 0.5764 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.2004, allocations: 16 kB / 0.5764 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.2025, allocations: 1.039 MB / 0.5774 GB, free: 3.727 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.007176/0.2097, allocations: 3.902 MB / 0.5812 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007391/0.2171, allocations: 2.907 MB / 0.5841 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.2186, allocations: 0.7309 MB / 0.5848 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.2187, allocations: 20.89 kB / 0.5848 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/0.2205, allocations: 0.8724 MB / 0.5856 GB, free: 11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=95): time 3.227e-06/0.2205, allocations: 0 / 0.5856 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=95): time 0.02932/0.2498, allocations: 8.772 MB / 0.5942 GB, free: 2.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/0.25, allocations: 115.8 kB / 0.5943 GB, free: 2.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.252, allocations: 1.075 MB / 0.5954 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002634/0.2522, allocations: 41.7 kB / 0.5954 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.2527, allocations: 0.489 MB / 0.5959 GB, free: 404 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004985/0.2532, allocations: 343.2 kB / 0.5962 GB, free: 56 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.2534, allocations: 36 kB / 0.5963 GB, free: 20 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.2537, allocations: 361.9 kB / 0.5966 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.2554, allocations: 0.8159 MB / 0.5974 GB, free: 14.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.2573, allocations: 0.9811 MB / 0.5984 GB, free: 13.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.2591, allocations: 0.9502 MB / 0.5993 GB, free: 12.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.2592, allocations: 4 kB / 0.5993 GB, free: 12.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01381/0.273, allocations: 5.141 MB / 0.6043 GB, free: 7.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-05/0.2731, allocations: 59.41 kB / 0.6044 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.2731, allocations: 4 kB / 0.6044 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006049/0.2792, allocations: 1.911 MB / 0.6062 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.2808, allocations: 287.6 kB / 0.6065 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02044/0.3012, allocations: 9.068 MB / 0.6154 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.3034, allocations: 234.7 kB / 0.6156 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/0.3037, allocations: 59.91 kB / 0.6156 GB, free: 11.93 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis 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 (160): * Single equations (assignments): 157 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009117/0.3046, allocations: 308.2 kB / 0.6159 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/0.305, allocations: 130.5 kB / 0.6161 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.3182, allocations: 4.709 MB / 0.6207 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.3183, allocations: 8 kB / 0.6207 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.929e-05/0.3183, allocations: 8 kB / 0.6207 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-05/0.3183, allocations: 3.984 kB / 0.6207 GB, free: 6.723 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.01637/0.3347, allocations: 6.293 MB / 0.6268 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/0.3348, allocations: 0 / 0.6268 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007904/0.3356, allocations: 99.89 kB / 0.6269 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006224/0.3419, allocations: 1.884 MB / 0.6288 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003809/0.3423, allocations: 19.95 kB / 0.6288 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02377/0.3661, allocations: 9.676 MB / 0.6382 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.3662, allocations: 4 kB / 0.6382 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.3816, allocations: 5.635 MB / 0.6437 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/0.3824, allocations: 231.2 kB / 0.644 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000539/0.383, allocations: 19.98 kB / 0.644 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.3845, allocations: 143.8 kB / 0.6441 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000791/0.3854, allocations: 196.8 kB / 0.6443 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/0.3855, allocations: 27.98 kB / 0.6443 GB, free: 14.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001619/0.3872, allocations: 0.7275 MB / 0.645 GB, free: 13.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3872, allocations: 0 / 0.645 GB, free: 13.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002573/0.3898, allocations: 475.5 kB / 0.6455 GB, free: 12.85 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0004968/0.3903, allocations: 143.2 kB / 0.6456 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007257/0.3975, allocations: 2.755 MB / 0.6483 GB, free: 9.902 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.3976, allocations: 0.75 kB / 0.6483 GB, free: 9.902 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004395/0.402, allocations: 1.814 MB / 0.6501 GB, free: 8.055 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.4035, allocations: 120.3 kB / 0.6502 GB, free: 7.941 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/0.4084, allocations: 2.57 MB / 0.6527 GB, free: 5.348 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008837/0.4093, allocations: 1.12 MB / 0.6538 GB, free: 4.195 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005594/0.4099, allocations: 116 kB / 0.6539 GB, free: 4.078 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.4102, allocations: 83.41 kB / 0.654 GB, free: 3.996 MB / 478.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4102, allocations: 3.938 kB / 0.654 GB, free: 3.992 MB / 478.1 MB Notification: Performance of Templates: time 0.2883/0.6986, allocations: 21.32 MB / 0.6748 GB, free: 90.98 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: