Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009359/0.0009364, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.383/1.383, allocations: 223.3 MB / 239.4 MB, free: 5.398 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.001226/0.001226, allocations: 188.5 kB / 290.6 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5232/0.5232, allocations: 91.93 MB / 433.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000425/0.000425, allocations: 8 kB / 0.5048 GB, free: 7.293 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 72.47 MB / 0.5755 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.004534/0.3523, allocations: 6.238 MB / 0.5816 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.3556, allocations: 2.019 MB / 0.5836 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004916/0.3561, allocations: 12.53 kB / 0.5836 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005695/0.3567, allocations: 185.1 kB / 0.5838 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.3582, allocations: 0.711 MB / 0.5845 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3593, allocations: 0.5951 MB / 0.5851 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.3604, allocations: 1.457 MB / 0.5865 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.3608, allocations: 283.3 kB / 0.5867 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000562/0.3613, allocations: 0.5484 MB / 0.5873 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005951/0.3619, allocations: 0.7451 MB / 0.588 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.3621, allocations: 57.5 kB / 0.5881 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.3624, allocations: 192.4 kB / 0.5882 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.3626, allocations: 263.6 kB / 0.5885 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.363, allocations: 0.6114 MB / 0.5891 GB, free: 28.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.364, allocations: 1.54 MB / 0.5906 GB, free: 27.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.364, allocations: 0 / 0.5906 GB, free: 27.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.364, allocations: 2.094 kB / 0.5906 GB, free: 27.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.3641, allocations: 0 / 0.5906 GB, free: 27.57 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007877/0.3719, allocations: 2.472 MB / 0.593 GB, free: 26.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.372, allocations: 7.156 kB / 0.593 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004944/0.3769, allocations: 0.7759 MB / 0.5938 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.3783, allocations: 0.8923 MB / 0.5946 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.3786, allocations: 238.7 kB / 0.5949 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.3787, allocations: 81.47 kB / 0.595 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.3809, allocations: 1.158 MB / 0.5961 GB, free: 25.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.3809, allocations: 1.312 kB / 0.5961 GB, free: 25.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.58e-05/0.381, allocations: 29.78 kB / 0.5961 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.381, allocations: 18.19 kB / 0.5961 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.383, allocations: 1.077 MB / 0.5972 GB, free: 24.69 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.006276/0.3893, allocations: 3.935 MB / 0.601 GB, free: 22.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008275/0.3976, allocations: 2.89 MB / 0.6038 GB, free: 21.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.3993, allocations: 0.7571 MB / 0.6046 GB, free: 21.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-05/0.3994, allocations: 16.91 kB / 0.6046 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.3994, allocations: 44.92 kB / 0.6046 GB, free: 21.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 4.088e-06/0.3994, allocations: 0 / 0.6046 GB, free: 21.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03097/0.4304, allocations: 8.467 MB / 0.6129 GB, free: 19.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.4305, allocations: 140.2 kB / 0.6131 GB, free: 19.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.4327, allocations: 1.084 MB / 0.6141 GB, free: 19.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003582/0.433, allocations: 44.86 kB / 0.6142 GB, free: 19.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/0.4335, allocations: 495.5 kB / 0.6146 GB, free: 18.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004473/0.434, allocations: 344.6 kB / 0.615 GB, free: 18.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.4342, allocations: 135.7 kB / 0.6151 GB, free: 18.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.4343, allocations: 302.9 kB / 0.6154 GB, free: 18.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.4363, allocations: 0.8126 MB / 0.6162 GB, free: 17.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.4384, allocations: 0.9911 MB / 0.6171 GB, free: 17.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02306/0.4614, allocations: 5.973 MB / 0.623 GB, free: 12.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.4615, allocations: 0 / 0.623 GB, free: 12.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01325/0.4748, allocations: 5.176 MB / 0.628 GB, free: 7.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.4749, allocations: 238.6 kB / 0.6282 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.4749, allocations: 4 kB / 0.6283 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005579/0.4805, allocations: 1.865 MB / 0.6301 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.4818, allocations: 263.6 kB / 0.6303 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.5003, allocations: 8.843 MB / 0.639 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.5023, allocations: 218.8 kB / 0.6392 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.5024, allocations: 51.98 kB / 0.6392 GB, free: 11.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.5025, allocations: 8 kB / 0.6392 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01439/0.5169, allocations: 5.007 MB / 0.6441 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.5169, allocations: 4 kB / 0.6441 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006108/0.523, allocations: 1.863 MB / 0.6459 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.5244, allocations: 259.6 kB / 0.6462 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/0.5442, allocations: 8.843 MB / 0.6548 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.5461, allocations: 203 kB / 0.655 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.5462, allocations: 59.92 kB / 0.6551 GB, free: 11.23 MB / 462.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (150): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007516/0.547, allocations: 373.9 kB / 0.6554 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.5472, allocations: 126.3 kB / 0.6556 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.5607, allocations: 4.599 MB / 0.66 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.5608, allocations: 8 kB / 0.66 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.5608, allocations: 8 kB / 0.6601 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/0.5609, allocations: 7.984 kB / 0.6601 GB, free: 6.078 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.01625/0.5771, allocations: 6.238 MB / 0.6662 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.5772, allocations: 0 / 0.6662 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/0.5779, allocations: 115.8 kB / 0.6663 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005703/0.5836, allocations: 1.786 MB / 0.668 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.5839, allocations: 23.98 kB / 0.668 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/0.602, allocations: 7.64 MB / 0.6755 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.602, allocations: 0 / 0.6755 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/0.618, allocations: 5.525 MB / 0.6809 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005907/0.6187, allocations: 231.2 kB / 0.6811 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.6188, allocations: 20 kB / 0.6811 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.6201, allocations: 139.9 kB / 0.6813 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006133/0.6207, allocations: 176.7 kB / 0.6814 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/0.6208, allocations: 20 kB / 0.6815 GB, free: 15.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00116/0.6219, allocations: 0.7352 MB / 0.6822 GB, free: 15.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6219, allocations: 4 kB / 0.6822 GB, free: 15.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002124/0.6241, allocations: 0.7452 MB / 0.6829 GB, free: 14.39 MB / 494.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.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003094/0.6244, allocations: 139.2 kB / 0.683 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01194/0.6363, allocations: 4.864 MB / 0.6878 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.6364, allocations: 0 / 0.6878 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00456/0.641, allocations: 1.653 MB / 0.6894 GB, free: 7.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.6422, allocations: 124.4 kB / 0.6895 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.6463, allocations: 2.726 MB / 0.6922 GB, free: 4.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.647, allocations: 1.133 MB / 0.6933 GB, free: 3.582 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000618/0.6476, allocations: 151.7 kB / 0.6934 GB, free: 3.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.6479, allocations: 79.41 kB / 0.6935 GB, free: 3.352 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6479, allocations: 0 / 0.6935 GB, free: 3.352 MB / 494.1 MB Notification: Performance of Templates: time 0.0425/0.6904, allocations: 26.54 MB / 0.7194 GB, free: 8.832 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)