Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009372/0.0009372, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.33/1.33, allocations: 223.3 MB / 239 MB, free: 5.43 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.00106/0.00106, allocations: 176.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.5044/0.5044, allocations: 91.91 MB / 433.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003497, allocations: 12 kB / 0.5042 GB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3165, allocations: 72.45 MB / 0.5749 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.004468/0.3211, allocations: 5.983 MB / 0.5808 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.3245, allocations: 1.961 MB / 0.5827 GB, free: 31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007795/0.3253, allocations: 11.47 kB / 0.5827 GB, free: 31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006719/0.326, allocations: 180.4 kB / 0.5829 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.3278, allocations: 0.6656 MB / 0.5835 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3289, allocations: 0.5399 MB / 0.584 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.33, allocations: 1.431 MB / 0.5854 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.3304, allocations: 263.5 kB / 0.5857 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007322/0.3312, allocations: 0.5611 MB / 0.5862 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007786/0.3319, allocations: 0.7465 MB / 0.587 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.3321, allocations: 60.72 kB / 0.587 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.3325, allocations: 190.1 kB / 0.5872 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.3327, allocations: 266.6 kB / 0.5875 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.3329, allocations: 234.6 kB / 0.5877 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008062/0.3337, allocations: 1.24 MB / 0.5889 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3337, allocations: 0 / 0.5889 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3337, allocations: 3.031 kB / 0.5889 GB, free: 28.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.3337, allocations: 3.938 kB / 0.5889 GB, free: 28.18 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.007242/0.341, allocations: 2.556 MB / 0.5914 GB, free: 27.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.341, allocations: 9.844 kB / 0.5914 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/0.3458, allocations: 0.784 MB / 0.5922 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.3473, allocations: 0.8689 MB / 0.593 GB, free: 26.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.3475, allocations: 237 kB / 0.5932 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.3477, allocations: 84.03 kB / 0.5933 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.3498, allocations: 1.16 MB / 0.5945 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.3498, allocations: 4.266 kB / 0.5945 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.952e-05/0.3499, allocations: 30.69 kB / 0.5945 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.3499, allocations: 21.14 kB / 0.5945 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.3519, allocations: 1.081 MB / 0.5956 GB, free: 25.3 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.006664/0.3586, allocations: 4.001 MB / 0.5995 GB, free: 23.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007491/0.3661, allocations: 2.906 MB / 0.6023 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.3677, allocations: 0.7615 MB / 0.6031 GB, free: 21.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.3678, allocations: 20.14 kB / 0.6031 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3679, allocations: 47.22 kB / 0.6031 GB, free: 21.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.985e-06/0.3679, allocations: 0.9688 kB / 0.6031 GB, free: 21.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02672/0.3946, allocations: 8.219 MB / 0.6112 GB, free: 20.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.3947, allocations: 147.9 kB / 0.6113 GB, free: 20.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.3969, allocations: 1.108 MB / 0.6124 GB, free: 19.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002844/0.3972, allocations: 51.39 kB / 0.6124 GB, free: 19.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/0.3977, allocations: 0.4911 MB / 0.6129 GB, free: 19.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000535/0.3982, allocations: 348.6 kB / 0.6132 GB, free: 19.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.3984, allocations: 29.75 kB / 0.6133 GB, free: 18.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3985, allocations: 364.8 kB / 0.6136 GB, free: 18.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.4002, allocations: 0.8318 MB / 0.6144 GB, free: 18.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.4022, allocations: 1.013 MB / 0.6154 GB, free: 17.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.4041, allocations: 0.9691 MB / 0.6164 GB, free: 17.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.4041, allocations: 1.188 kB / 0.6164 GB, free: 17.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01264/0.4168, allocations: 5.131 MB / 0.6214 GB, free: 13.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.4169, allocations: 240.9 kB / 0.6216 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.4169, allocations: 4 kB / 0.6216 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005026/0.422, allocations: 1.848 MB / 0.6234 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.4236, allocations: 307.6 kB / 0.6237 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/0.4401, allocations: 8.662 MB / 0.6322 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.442, allocations: 226.8 kB / 0.6324 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.4422, allocations: 55.94 kB / 0.6324 GB, free: 2.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.4423, allocations: 4 kB / 0.6324 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01255/0.4548, allocations: 4.969 MB / 0.6373 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.4549, allocations: 0 / 0.6373 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005614/0.4605, allocations: 1.855 MB / 0.6391 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.4622, allocations: 299.5 kB / 0.6394 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.4815, allocations: 8.648 MB / 0.6478 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.4834, allocations: 214.8 kB / 0.648 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/0.4836, allocations: 55.98 kB / 0.6481 GB, free: 1.973 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 158 * 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 {20 10} Notification: Performance of prepare postOptimizeDAE: time 0.0009176/0.4845, allocations: 385.7 kB / 0.6485 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004935/0.485, allocations: 126.4 kB / 0.6486 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.4974, allocations: 4.626 MB / 0.6531 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.4974, allocations: 8 kB / 0.6531 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.4975, allocations: 8 kB / 0.6531 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.4975, allocations: 11.91 kB / 0.6531 GB, free: 12.77 MB / 462.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.01451/0.512, allocations: 6.289 MB / 0.6593 GB, free: 6.379 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.512, allocations: 0 / 0.6593 GB, free: 6.379 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/0.5128, allocations: 123.8 kB / 0.6594 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005156/0.5179, allocations: 1.794 MB / 0.6611 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.5181, allocations: 23.98 kB / 0.6612 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/0.5345, allocations: 7.613 MB / 0.6686 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5345, allocations: 0 / 0.6686 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/0.549, allocations: 5.553 MB / 0.674 GB, free: 7.102 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/0.5495, allocations: 239.2 kB / 0.6742 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.5498, allocations: 16 kB / 0.6743 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.5511, allocations: 139.9 kB / 0.6744 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005123/0.5516, allocations: 188.6 kB / 0.6746 GB, free: 6.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.199e-05/0.5517, allocations: 28 kB / 0.6746 GB, free: 6.484 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.5528, allocations: 0.7434 MB / 0.6753 GB, free: 5.734 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5529, allocations: 0 / 0.6753 GB, free: 5.734 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002384/0.5552, allocations: 0.7609 MB / 0.6761 GB, free: 4.973 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002684/0.5555, allocations: 132 kB / 0.6762 GB, free: 4.836 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01068/0.5662, allocations: 4.899 MB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5662, allocations: 192 / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003915/0.5702, allocations: 1.672 MB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.5713, allocations: 117.2 kB / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.5759, allocations: 2.795 MB / 0.6855 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008796/0.5768, allocations: 1.145 MB / 0.6866 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008214/0.5776, allocations: 155.8 kB / 0.6867 GB, free: 9.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.5779, allocations: 79.41 kB / 0.6868 GB, free: 9.824 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5779, allocations: 0 / 0.6868 GB, free: 9.824 MB / 494.1 MB Notification: Performance of Templates: time 0.04571/0.6237, allocations: 27.19 MB / 0.7133 GB, free: 14.63 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)