Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009353/0.0009352, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 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 / 240 MB, free: 5.492 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.001164/0.001164, allocations: 179.4 kB / 291.3 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5179/0.5179, allocations: 91.92 MB / 434.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003896, allocations: 8 kB / 0.5054 GB, free: 7.246 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3439, allocations: 72.47 MB / 0.5762 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI): time 0.014/0.3579, allocations: 22.53 MB / 0.5982 GB, free: 20.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.369, allocations: 5.194 MB / 0.6033 GB, free: 16.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004451/0.3735, allocations: 55.53 kB / 0.6033 GB, free: 16.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.3757, allocations: 0.6727 MB / 0.604 GB, free: 16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006659/0.3824, allocations: 1.751 MB / 0.6057 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004921/0.3873, allocations: 1.939 MB / 0.6076 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008649/0.396, allocations: 5.48 MB / 0.6129 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003194/0.3992, allocations: 1.125 MB / 0.614 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.4039, allocations: 2.07 MB / 0.616 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00521/0.4091, allocations: 2.725 MB / 0.6187 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0022/0.4114, allocations: 242.9 kB / 0.6189 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.4143, allocations: 378.6 kB / 0.6193 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002035/0.4164, allocations: 0.9446 MB / 0.6202 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005473/0.4218, allocations: 2.414 MB / 0.6226 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00784/0.4297, allocations: 4.669 MB / 0.6271 GB, free: 4.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4297, allocations: 0.5625 kB / 0.6271 GB, free: 4.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4297, allocations: 0 / 0.6271 GB, free: 4.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003267/0.4301, allocations: 3.938 kB / 0.6271 GB, free: 4.355 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03362/0.4637, allocations: 8.479 MB / 0.6354 GB, free: 444 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4638, allocations: 9.156 kB / 0.6354 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02929/0.4931, allocations: 4.052 MB / 0.6394 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.5031, allocations: 2.694 MB / 0.642 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001024/0.5042, allocations: 0.9596 MB / 0.6429 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008438/0.505, allocations: 355.8 kB / 0.6433 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.5156, allocations: 5.017 MB / 0.6482 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.774e-05/0.5157, allocations: 0 / 0.6482 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004175/0.5161, allocations: 147.9 kB / 0.6483 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.385e-05/0.5162, allocations: 84 kB / 0.6484 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009533/0.5257, allocations: 4.552 MB / 0.6529 GB, free: 14.78 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.03495/0.5607, allocations: 18.94 MB / 0.6713 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/0.5745, allocations: 5.754 MB / 0.677 GB, free: 4.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006343/0.5808, allocations: 3.072 MB / 0.68 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003769/0.5812, allocations: 74.91 kB / 0.68 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.193e-05/0.5813, allocations: 69.56 kB / 0.6801 GB, free: 1.578 MB / 478.1 MB Notification: Performance of pre-optimization done (n=382): time 5.26e-06/0.5813, allocations: 0 / 0.6801 GB, free: 1.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=382): time 0.3367/0.918, allocations: 80.9 MB / 0.7591 GB, free: 0.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.9182, allocations: 175.5 kB / 0.7593 GB, free: 304 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006434/0.9247, allocations: 3.258 MB / 0.7625 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/0.9258, allocations: 89.7 kB / 0.7625 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001946/0.9278, allocations: 1.982 MB / 0.7645 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002524/0.9303, allocations: 1.313 MB / 0.7658 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/0.9317, allocations: 338.7 kB / 0.7661 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9319, allocations: 313 kB / 0.7664 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006964/0.9388, allocations: 2.878 MB / 0.7692 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007424/0.9463, allocations: 3.507 MB / 0.7726 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3526/1.299, allocations: 21.01 MB / 0.7931 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.849e-05/1.299, allocations: 4.344 kB / 0.7931 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=536) (initialization): time 0.06713/1.366, allocations: 20.98 MB / 0.8136 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003402/1.367, allocations: 0.5995 MB / 0.8142 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/1.367, allocations: 16.12 kB / 0.8142 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02808/1.395, allocations: 8.633 MB / 0.8227 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/1.398, allocations: 0.6603 MB / 0.8233 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08494/1.483, allocations: 35.44 MB / 0.8579 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0069/1.49, allocations: 0.7414 MB / 0.8586 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009806/1.491, allocations: 152 kB / 0.8588 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/1.491, allocations: 4 kB / 0.8588 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06037/1.551, allocations: 20.54 MB / 0.8788 GB, free: 91.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.36e-05/1.552, allocations: 12 kB / 0.8789 GB, free: 91.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02777/1.579, allocations: 8.643 MB / 0.8873 GB, free: 83.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003569/1.583, allocations: 0.6553 MB / 0.8879 GB, free: 82.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08793/1.671, allocations: 35.43 MB / 0.9225 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006957/1.678, allocations: 0.7091 MB / 0.9232 GB, free: 46.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.679, allocations: 151.9 kB / 0.9234 GB, free: 46 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 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 (399): * Single equations (assignments): 396 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002683/1.682, allocations: 0.7519 MB / 0.9241 GB, free: 45.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001612/1.683, allocations: 458.3 kB / 0.9246 GB, free: 44.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05799/1.741, allocations: 20.56 MB / 0.9446 GB, free: 24.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/1.741, allocations: 36 kB / 0.9447 GB, free: 24.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.255e-05/1.742, allocations: 31.98 kB / 0.9447 GB, free: 24.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001026/1.742, allocations: 23.94 kB / 0.9447 GB, free: 24.07 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.06791/1.81, allocations: 25.9 MB / 0.97 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/1.81, allocations: 0 / 0.97 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002757/1.812, allocations: 415.4 kB / 0.9704 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02944/1.842, allocations: 8.608 MB / 0.9788 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/1.843, allocations: 79.91 kB / 0.9789 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3705/2.213, allocations: 30.6 MB / 1.009 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.213, allocations: 3.844 kB / 1.009 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07376/2.287, allocations: 24.22 MB / 1.032 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/2.289, allocations: 0.5765 MB / 1.033 GB, free: 171.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/2.29, allocations: 60.3 kB / 1.033 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005182/2.295, allocations: 0.4994 MB / 1.034 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002912/2.298, allocations: 0.757 MB / 1.034 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003917/2.299, allocations: 92.58 kB / 1.034 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002994/2.302, allocations: 2.15 MB / 1.036 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.21e-07/2.302, allocations: 0 / 1.036 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009163/2.311, allocations: 2.995 MB / 1.039 GB, free: 169.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (252): * Single equations (assignments): 250 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006826/2.312, allocations: 201.2 kB / 1.04 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.04766/2.359, allocations: 17.77 MB / 1.057 GB, free: 158.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/2.359, allocations: 4.234 kB / 1.057 GB, free: 158.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02048/2.38, allocations: 6.923 MB / 1.064 GB, free: 152.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004988/2.385, allocations: 397.6 kB / 1.064 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/2.401, allocations: 10.17 MB / 1.074 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/2.402, allocations: 2.509 MB / 1.076 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/2.404, allocations: 262.6 kB / 1.077 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/2.404, allocations: 0 / 1.077 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1057/2.51, allocations: 84.13 MB / 1.159 GB, free: 58.93 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)