Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000898/0.0008979, allocations: 97.64 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.477/1.477, allocations: 223.3 MB / 239.4 MB, free: 5.406 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.001368/0.001368, allocations: 184.3 kB / 290.6 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5975/0.5975, allocations: 91.91 MB / 433.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003965, allocations: 12 kB / 0.5048 GB, free: 7.277 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4327, allocations: 72.46 MB / 0.5755 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI): time 0.01557/0.4483, allocations: 22.39 MB / 0.5974 GB, free: 20.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.462, allocations: 5.143 MB / 0.6024 GB, free: 16.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006064/0.4681, allocations: 51 kB / 0.6025 GB, free: 16.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00314/0.4713, allocations: 0.6737 MB / 0.6031 GB, free: 16.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00903/0.4804, allocations: 1.729 MB / 0.6048 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005918/0.4863, allocations: 1.928 MB / 0.6067 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.4964, allocations: 5.404 MB / 0.612 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.4996, allocations: 1.124 MB / 0.6131 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.5043, allocations: 2.045 MB / 0.6151 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005611/0.51, allocations: 2.675 MB / 0.6177 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002496/0.5125, allocations: 237 kB / 0.6179 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/0.5164, allocations: 374.4 kB / 0.6182 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00257/0.5189, allocations: 0.9317 MB / 0.6192 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008009/0.527, allocations: 2.386 MB / 0.6215 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.5424, allocations: 5.818 MB / 0.6272 GB, free: 3.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.5425, allocations: 0 / 0.6272 GB, free: 3.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.5425, allocations: 0.6562 kB / 0.6272 GB, free: 3.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004573/0.543, allocations: 1.5 kB / 0.6272 GB, free: 3.867 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.03596/0.5789, allocations: 8.381 MB / 0.6354 GB, free: 15.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.579, allocations: 13.48 kB / 0.6354 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02871/0.6077, allocations: 4.043 MB / 0.6393 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009196/0.617, allocations: 2.65 MB / 0.6419 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001432/0.6185, allocations: 0.9596 MB / 0.6428 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002403/0.6209, allocations: 344 kB / 0.6432 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01832/0.6392, allocations: 4.997 MB / 0.6481 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/0.6395, allocations: 7.938 kB / 0.6481 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001553/0.641, allocations: 140 kB / 0.6482 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-05/0.6411, allocations: 88 kB / 0.6483 GB, free: 2.789 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.6556, allocations: 4.525 MB / 0.6527 GB, free: 14.25 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 preOpt removeSimpleEquations (simulation): time 0.04853/0.7042, allocations: 18.88 MB / 0.6711 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/0.7197, allocations: 5.715 MB / 0.6767 GB, free: 4.391 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007561/0.7273, allocations: 3.056 MB / 0.6797 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008755/0.7282, allocations: 66.91 kB / 0.6798 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.663e-05/0.7283, allocations: 69.55 kB / 0.6798 GB, free: 1.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=380): time 7.844e-06/0.7283, allocations: 0 / 0.6798 GB, free: 1.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=380): time 0.323/1.051, allocations: 79.61 MB / 0.7576 GB, free: 1.395 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/1.051, allocations: 167.5 kB / 0.7577 GB, free: 1.199 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008884/1.06, allocations: 3.21 MB / 0.7609 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001819/1.062, allocations: 89.7 kB / 0.761 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002197/1.064, allocations: 1.962 MB / 0.7629 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.003006/1.068, allocations: 1.301 MB / 0.7641 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/1.069, allocations: 338.6 kB / 0.7645 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.069, allocations: 305.1 kB / 0.7648 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007731/1.077, allocations: 2.843 MB / 0.7675 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007504/1.085, allocations: 3.471 MB / 0.7709 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4416/1.526, allocations: 20.66 MB / 0.7911 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-05/1.526, allocations: 3.906 kB / 0.7911 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=528) (initialization): time 0.06471/1.591, allocations: 21.02 MB / 0.8116 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003658/1.591, allocations: 0.5888 MB / 0.8122 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/1.591, allocations: 11.84 kB / 0.8122 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02608/1.617, allocations: 8.481 MB / 0.8205 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00383/1.621, allocations: 0.6564 MB / 0.8211 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08312/1.705, allocations: 34.9 MB / 0.8552 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007071/1.712, allocations: 0.7443 MB / 0.8559 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/1.713, allocations: 148 kB / 0.8561 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.713, allocations: 6.078 kB / 0.8561 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05684/1.77, allocations: 20.58 MB / 0.8762 GB, free: 93.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.001e-05/1.77, allocations: 12 kB / 0.8762 GB, free: 93.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0263/1.796, allocations: 8.486 MB / 0.8845 GB, free: 85.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/1.8, allocations: 0.6443 MB / 0.8851 GB, free: 84.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09634/1.896, allocations: 34.9 MB / 0.9192 GB, free: 49.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007782/1.904, allocations: 0.7034 MB / 0.9199 GB, free: 48.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/1.906, allocations: 155.9 kB / 0.92 GB, free: 48.75 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (393): * Single equations (assignments): 390 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004622/1.91, allocations: 0.746 MB / 0.9208 GB, free: 47.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002505/1.913, allocations: 454.4 kB / 0.9212 GB, free: 47.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06284/1.976, allocations: 20.52 MB / 0.9412 GB, free: 26.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.215e-05/1.976, allocations: 36 kB / 0.9413 GB, free: 26.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000122/1.976, allocations: 28 kB / 0.9413 GB, free: 26.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001433/1.976, allocations: 27.86 kB / 0.9413 GB, free: 26.87 MB / 0.5606 GB 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.07776/2.054, allocations: 25.8 MB / 0.9665 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.091e-05/2.054, allocations: 4.031 kB / 0.9665 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003246/2.057, allocations: 407.5 kB / 0.9669 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03021/2.088, allocations: 8.59 MB / 0.9753 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001495/2.089, allocations: 75.98 kB / 0.9754 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4206/2.51, allocations: 30.66 MB / 1.005 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/2.51, allocations: 2.344 kB / 1.005 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07775/2.588, allocations: 24.14 MB / 1.029 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/2.59, allocations: 0.5585 MB / 1.029 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/2.591, allocations: 68.94 kB / 1.03 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00446/2.595, allocations: 0.497 MB / 1.03 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002791/2.598, allocations: 0.7639 MB / 1.031 GB, free: 172 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002689/2.598, allocations: 95.31 kB / 1.031 GB, free: 172 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002603/2.601, allocations: 2.1 MB / 1.033 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/2.601, allocations: 0 / 1.033 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007718/2.609, allocations: 2.957 MB / 1.036 GB, free: 170.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (250): * Single equations (assignments): 248 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005323/2.609, allocations: 201.7 kB / 1.036 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.04471/2.654, allocations: 17.67 MB / 1.053 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/2.654, allocations: 1.875 kB / 1.053 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02261/2.677, allocations: 6.889 MB / 1.06 GB, free: 155.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01044/2.687, allocations: 386.8 kB / 1.06 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/2.708, allocations: 9.882 MB / 1.07 GB, free: 146 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003192/2.711, allocations: 2.494 MB / 1.072 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002464/2.714, allocations: 451.8 kB / 1.073 GB, free: 143.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008068/2.715, allocations: 238.8 kB / 1.073 GB, free: 143.6 MB / 0.5919 GB Notification: Performance of SimCode: time 2.124e-06/2.715, allocations: 0 / 1.073 GB, free: 143.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1573/2.872, allocations: 106.9 MB / 1.177 GB, free: 39.49 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)