Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06353/0.06353, allocations: 12.2 MB / 27.16 MB, free: 116 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.0008465/0.0008466, allocations: 107.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.225/1.225, 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.001088/0.001088, allocations: 177.1 kB / 290.6 MB, free: 8.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.392/0.392, allocations: 78.5 MB / 420.1 MB, free: 6.605 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.0008134/0.0008136, allocations: 32.91 kB / 0.4894 GB, free: 38.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.1007, allocations: 69.24 MB / 0.557 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.00569/0.1065, allocations: 5.787 MB / 0.5627 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004064/0.1106, allocations: 1.914 MB / 0.5645 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.1116, allocations: 12 kB / 0.5645 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009329/0.1126, allocations: 174.7 kB / 0.5647 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.1151, allocations: 0.7265 MB / 0.5654 GB, free: 272 kB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.1166, allocations: 0.5184 MB / 0.5659 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.1189, allocations: 0.9904 MB / 0.5669 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006906/0.1196, allocations: 261.8 kB / 0.5671 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.1206, allocations: 0.5681 MB / 0.5677 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.1217, allocations: 0.7041 MB / 0.5684 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.122, allocations: 60 kB / 0.5684 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005969/0.1226, allocations: 179.8 kB / 0.5686 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.123, allocations: 247 kB / 0.5688 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.1233, allocations: 237 kB / 0.5691 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.1247, allocations: 1.173 MB / 0.5702 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1247, allocations: 4 kB / 0.5702 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1247, allocations: 3.938 kB / 0.5702 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.557e-05/0.1247, allocations: 4 kB / 0.5702 GB, free: 11.31 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008428/0.1332, allocations: 2.505 MB / 0.5727 GB, free: 8.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1332, allocations: 23.92 kB / 0.5727 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005062/0.1383, allocations: 0.7748 MB / 0.5734 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.1401, allocations: 0.8367 MB / 0.5743 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.1404, allocations: 276.1 kB / 0.5745 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.1407, allocations: 83.94 kB / 0.5746 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.1429, allocations: 1.133 MB / 0.5757 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1429, allocations: 0 / 0.5757 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.623e-05/0.143, allocations: 32 kB / 0.5757 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.143, allocations: 16 kB / 0.5758 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.145, allocations: 1.046 MB / 0.5768 GB, free: 4.422 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.006531/0.1516, allocations: 4.11 MB / 0.5808 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007683/0.1593, allocations: 2.91 MB / 0.5836 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.1594, allocations: 16.98 kB / 0.5837 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001641/0.1611, allocations: 0.8685 MB / 0.5845 GB, free: 12.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.035e-06/0.1611, allocations: 0 / 0.5845 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.02931/0.1904, allocations: 8.638 MB / 0.5929 GB, free: 3.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1905, allocations: 115.8 kB / 0.593 GB, free: 3.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.192, allocations: 1.075 MB / 0.5941 GB, free: 2.254 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.1922, allocations: 45.7 kB / 0.5941 GB, free: 2.203 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.1926, allocations: 0.489 MB / 0.5946 GB, free: 1.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.1929, allocations: 355.1 kB / 0.595 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-05/0.193, allocations: 28 kB / 0.595 GB, free: 1.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1932, allocations: 365.9 kB / 0.5953 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.1947, allocations: 0.8199 MB / 0.5961 GB, free: 148 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.1964, allocations: 0.989 MB / 0.5971 GB, free: 15.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.1982, allocations: 0.9562 MB / 0.598 GB, free: 14.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.1982, allocations: 4 kB / 0.598 GB, free: 14.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01399/0.2122, allocations: 5.153 MB / 0.6031 GB, free: 8.969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.2123, allocations: 63.39 kB / 0.6031 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2123, allocations: 4 kB / 0.6031 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006199/0.2186, allocations: 1.907 MB / 0.605 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.2199, allocations: 291.6 kB / 0.6053 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02016/0.2401, allocations: 9.448 MB / 0.6145 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.2419, allocations: 238.6 kB / 0.6147 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.2421, allocations: 59.97 kB / 0.6148 GB, free: 12.8 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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 (164): * Single equations (assignments): 161 * 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.0005392/0.2426, allocations: 299.1 kB / 0.6151 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.2428, allocations: 130.4 kB / 0.6152 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.256, allocations: 4.717 MB / 0.6198 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.2561, allocations: 15.94 kB / 0.6198 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.2561, allocations: 12 kB / 0.6198 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/0.2561, allocations: 7.969 kB / 0.6198 GB, free: 7.586 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.01488/0.271, allocations: 6.34 MB / 0.626 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.271, allocations: 4 kB / 0.626 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/0.2716, allocations: 99.92 kB / 0.6261 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005598/0.2772, allocations: 1.888 MB / 0.628 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.2774, allocations: 27.98 kB / 0.628 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.297, allocations: 10.09 MB / 0.6378 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.2971, allocations: 7.984 kB / 0.6379 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/0.3119, allocations: 5.642 MB / 0.6434 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.3123, allocations: 227.3 kB / 0.6436 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.3126, allocations: 20 kB / 0.6436 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.3137, allocations: 144.1 kB / 0.6437 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005157/0.3142, allocations: 196.6 kB / 0.6439 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.3143, allocations: 31.95 kB / 0.644 GB, free: 14.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009953/0.3153, allocations: 0.7196 MB / 0.6447 GB, free: 13.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3154, allocations: 0 / 0.6447 GB, free: 13.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001372/0.3167, allocations: 483.5 kB / 0.6451 GB, free: 13.21 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(21,21.8%) 11} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002637/0.317, allocations: 127.3 kB / 0.6452 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006347/0.3234, allocations: 2.778 MB / 0.648 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3234, allocations: 0 / 0.648 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004525/0.3279, allocations: 1.818 MB / 0.6497 GB, free: 8.398 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.3287, allocations: 100.9 kB / 0.6498 GB, free: 8.297 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.3324, allocations: 2.678 MB / 0.6524 GB, free: 5.602 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.3331, allocations: 1.143 MB / 0.6536 GB, free: 4.426 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004197/0.3335, allocations: 116.1 kB / 0.6537 GB, free: 4.309 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.3337, allocations: 79.41 kB / 0.6537 GB, free: 4.23 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3338, allocations: 0 / 0.6537 GB, free: 4.23 MB / 478.1 MB Notification: Performance of Templates: time 0.214/0.5477, allocations: 21.28 MB / 0.6745 GB, free: 91 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) Environment - environmentSimulation: