Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008148/0.0008149, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 239 MB, free: 5.438 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.0009941/0.0009942, allocations: 188.5 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4907/0.4907, allocations: 91.91 MB / 433.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 12 kB / 0.5042 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3234, allocations: 72.46 MB / 0.5749 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.004465/0.3279, allocations: 6.013 MB / 0.5808 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.3312, allocations: 1.92 MB / 0.5827 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006328/0.3319, allocations: 10.09 kB / 0.5827 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.3325, allocations: 166.5 kB / 0.5829 GB, free: 31.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.334, allocations: 0.6673 MB / 0.5835 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3351, allocations: 0.5159 MB / 0.584 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.3363, allocations: 1.414 MB / 0.5854 GB, free: 29.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004146/0.3368, allocations: 264.5 kB / 0.5856 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007917/0.3376, allocations: 0.5519 MB / 0.5862 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007985/0.3384, allocations: 0.7289 MB / 0.5869 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.3385, allocations: 58.5 kB / 0.5869 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000514/0.3391, allocations: 182.1 kB / 0.5871 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.3393, allocations: 255.9 kB / 0.5874 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.3396, allocations: 229 kB / 0.5876 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.3407, allocations: 1.222 MB / 0.5888 GB, free: 28.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3407, allocations: 0 / 0.5888 GB, free: 28.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3407, allocations: 0 / 0.5888 GB, free: 28.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.722e-05/0.3407, allocations: 0.8125 kB / 0.5888 GB, free: 28.63 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.007331/0.3481, allocations: 2.509 MB / 0.5912 GB, free: 27.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3481, allocations: 10.44 kB / 0.5912 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004878/0.353, allocations: 0.7825 MB / 0.592 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.3545, allocations: 0.8434 MB / 0.5928 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.3548, allocations: 269.5 kB / 0.5931 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.355, allocations: 83.09 kB / 0.5932 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.357, allocations: 1.138 MB / 0.5943 GB, free: 26.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.357, allocations: 1.875 kB / 0.5943 GB, free: 26.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.462e-05/0.3571, allocations: 29.53 kB / 0.5943 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.3571, allocations: 21.77 kB / 0.5943 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.3591, allocations: 1.047 MB / 0.5953 GB, free: 25.77 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.006293/0.3654, allocations: 3.929 MB / 0.5992 GB, free: 23.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007491/0.3729, allocations: 2.921 MB / 0.602 GB, free: 22.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.3745, allocations: 0.7379 MB / 0.6028 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.3747, allocations: 15.7 kB / 0.6028 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/0.3763, allocations: 0.8815 MB / 0.6036 GB, free: 22.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.876e-06/0.3764, allocations: 0 / 0.6036 GB, free: 22.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.0287/0.4051, allocations: 8.636 MB / 0.6121 GB, free: 20.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.4052, allocations: 114.7 kB / 0.6122 GB, free: 20.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.4069, allocations: 1.077 MB / 0.6132 GB, free: 19.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002412/0.4072, allocations: 45.86 kB / 0.6133 GB, free: 19.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.4075, allocations: 490.8 kB / 0.6137 GB, free: 19.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003524/0.4079, allocations: 360.9 kB / 0.6141 GB, free: 19.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.408, allocations: 30.16 kB / 0.6141 GB, free: 19.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.4081, allocations: 362.1 kB / 0.6145 GB, free: 18.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.4097, allocations: 0.8213 MB / 0.6153 GB, free: 18.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.4115, allocations: 0.9906 MB / 0.6162 GB, free: 18.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.4133, allocations: 0.9626 MB / 0.6172 GB, free: 17.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.4133, allocations: 1 kB / 0.6172 GB, free: 17.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01224/0.4255, allocations: 5.159 MB / 0.6222 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.4256, allocations: 59.41 kB / 0.6223 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.4256, allocations: 3.984 kB / 0.6223 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005378/0.431, allocations: 1.904 MB / 0.6241 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.4324, allocations: 299.6 kB / 0.6244 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/0.4494, allocations: 9.011 MB / 0.6332 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.4513, allocations: 234.7 kB / 0.6334 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.4515, allocations: 59.97 kB / 0.6335 GB, free: 1.312 MB / 430.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.0005379/0.452, allocations: 308.4 kB / 0.6338 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.4522, allocations: 122.5 kB / 0.6339 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.4649, allocations: 4.709 MB / 0.6385 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/0.465, allocations: 12 kB / 0.6385 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.465, allocations: 8 kB / 0.6385 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.205e-05/0.465, allocations: 11.94 kB / 0.6385 GB, free: 12.1 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.01532/0.4804, allocations: 6.301 MB / 0.6447 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.4804, allocations: 4.031 kB / 0.6447 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007033/0.4811, allocations: 103.8 kB / 0.6448 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005615/0.4868, allocations: 1.865 MB / 0.6466 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002122/0.487, allocations: 23.98 kB / 0.6466 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01895/0.506, allocations: 9.671 MB / 0.6561 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.506, allocations: 3.938 kB / 0.6561 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.5205, allocations: 5.639 MB / 0.6616 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.5211, allocations: 223.3 kB / 0.6618 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/0.5214, allocations: 20 kB / 0.6618 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.5227, allocations: 147.9 kB / 0.662 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005919/0.5233, allocations: 192.6 kB / 0.6621 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.5234, allocations: 32.06 kB / 0.6622 GB, free: 3.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001165/0.5246, allocations: 0.7157 MB / 0.6629 GB, free: 2.707 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5246, allocations: 4 kB / 0.6629 GB, free: 2.703 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001806/0.5264, allocations: 479.7 kB / 0.6633 GB, free: 2.234 MB / 462.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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003428/0.5268, allocations: 140 kB / 0.6635 GB, free: 2.086 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006586/0.5334, allocations: 2.783 MB / 0.6662 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5334, allocations: 0 / 0.6662 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004611/0.538, allocations: 1.8 MB / 0.6679 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.5399, allocations: 116.5 kB / 0.6681 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/0.545, allocations: 2.642 MB / 0.6706 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008696/0.5459, allocations: 1.124 MB / 0.6717 GB, free: 9.492 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005673/0.5464, allocations: 116 kB / 0.6718 GB, free: 9.375 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.5468, allocations: 71.42 kB / 0.6719 GB, free: 9.305 MB / 478.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5468, allocations: 0 / 0.6719 GB, free: 9.305 MB / 478.1 MB Notification: Performance of Templates: time 0.03456/0.5814, allocations: 21.29 MB / 0.6927 GB, free: 4.055 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)