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.0008319/0.000832, allocations: 86.56 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.321/1.321, allocations: 223.2 MB / 239 MB, free: 5.453 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.001003/0.001003, allocations: 192.4 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5107/0.5107, allocations: 91.91 MB / 433.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.000374, allocations: 12 kB / 0.5042 GB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3553, allocations: 72.46 MB / 0.5749 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI): time 0.01349/0.3688, allocations: 20.92 MB / 0.5954 GB, free: 21.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.3795, allocations: 5.01 MB / 0.6003 GB, free: 17.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004553/0.3841, allocations: 50.66 kB / 0.6003 GB, free: 17.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002624/0.3867, allocations: 0.6201 MB / 0.6009 GB, free: 17.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00738/0.3941, allocations: 1.769 MB / 0.6026 GB, free: 16.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005347/0.3995, allocations: 1.791 MB / 0.6044 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008459/0.408, allocations: 5.218 MB / 0.6095 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.4103, allocations: 1.049 MB / 0.6105 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003801/0.4141, allocations: 2.006 MB / 0.6125 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004495/0.4186, allocations: 2.632 MB / 0.615 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.4198, allocations: 238.5 kB / 0.6153 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.4216, allocations: 374.1 kB / 0.6156 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000748/0.4224, allocations: 0.9189 MB / 0.6165 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.4238, allocations: 0.8356 MB / 0.6173 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006029/0.4299, allocations: 4.676 MB / 0.6219 GB, free: 7.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4299, allocations: 0 / 0.6219 GB, free: 7.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4299, allocations: 4 kB / 0.6219 GB, free: 7.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002978/0.4302, allocations: 0 / 0.6219 GB, free: 7.582 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.02941/0.4596, allocations: 8.53 MB / 0.6302 GB, free: 3.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4597, allocations: 9.656 kB / 0.6302 GB, free: 3.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02571/0.4854, allocations: 4.054 MB / 0.6342 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008173/0.4936, allocations: 2.53 MB / 0.6367 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001413/0.4951, allocations: 0.9674 MB / 0.6376 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/0.4973, allocations: 347.9 kB / 0.638 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.5134, allocations: 4.997 MB / 0.6428 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000179/0.5137, allocations: 4 kB / 0.6428 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001661/0.5153, allocations: 140 kB / 0.643 GB, free: 7.797 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.5155, allocations: 87.95 kB / 0.6431 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.5299, allocations: 4.521 MB / 0.6475 GB, free: 3.184 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 preOpt removeSimpleEquations (simulation): time 0.04427/0.5742, allocations: 18.94 MB / 0.666 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01385/0.5881, allocations: 5.734 MB / 0.6716 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006698/0.5948, allocations: 3.06 MB / 0.6745 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008364/0.5957, allocations: 70.92 kB / 0.6746 GB, free: 6.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.28e-05/0.5958, allocations: 73.56 kB / 0.6747 GB, free: 6.008 MB / 478.1 MB Notification: Performance of pre-optimization done (n=382): time 5.971e-06/0.5958, allocations: 4 kB / 0.6747 GB, free: 6.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=382): time 0.2883/0.8841, allocations: 80.32 MB / 0.7531 GB, free: 5.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.8843, allocations: 171.5 kB / 0.7533 GB, free: 5.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007313/0.8916, allocations: 3.227 MB / 0.7564 GB, free: 2.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001248/0.8929, allocations: 89.7 kB / 0.7565 GB, free: 1.969 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00187/0.8948, allocations: 1.982 MB / 0.7585 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002342/0.8972, allocations: 1.313 MB / 0.7597 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009789/0.8981, allocations: 84 kB / 0.7598 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000356/0.8985, allocations: 463 kB / 0.7603 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006377/0.9049, allocations: 2.858 MB / 0.7631 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006711/0.9116, allocations: 3.503 MB / 0.7665 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006861/0.9185, allocations: 3.135 MB / 0.7695 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/0.9185, allocations: 4 kB / 0.7695 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=536) (initialization): time 0.3152/1.234, allocations: 20.81 MB / 0.7899 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003331/1.234, allocations: 0.5881 MB / 0.7904 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/1.234, allocations: 14.94 kB / 0.7905 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02666/1.261, allocations: 8.647 MB / 0.7989 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003589/1.264, allocations: 0.6613 MB / 0.7996 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07623/1.341, allocations: 36.57 MB / 0.8353 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006017/1.347, allocations: 0.7558 MB / 0.836 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006069/1.347, allocations: 152 kB / 0.8361 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/1.347, allocations: 4 kB / 0.8362 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04826/1.396, allocations: 20.37 MB / 0.856 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.896e-05/1.396, allocations: 16 kB / 0.8561 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02388/1.42, allocations: 8.651 MB / 0.8645 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/1.423, allocations: 0.6475 MB / 0.8651 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07444/1.497, allocations: 36.58 MB / 0.9009 GB, free: 68.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005579/1.503, allocations: 0.7083 MB / 0.9016 GB, free: 67.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005557/1.503, allocations: 152 kB / 0.9017 GB, free: 67.17 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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(flow=false start = order6.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 (399): * Single equations (assignments): 395 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001854/1.505, allocations: 0.7443 MB / 0.9024 GB, free: 66.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009497/1.506, allocations: 458.3 kB / 0.9029 GB, free: 65.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04973/1.556, allocations: 20.53 MB / 0.9229 GB, free: 45.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/1.556, allocations: 40 kB / 0.923 GB, free: 45.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/1.556, allocations: 28 kB / 0.923 GB, free: 45.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001001/1.556, allocations: 19.92 kB / 0.923 GB, free: 45.27 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.05708/1.613, allocations: 25.87 MB / 0.9483 GB, free: 19.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/1.613, allocations: 0 / 0.9483 GB, free: 19.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/1.616, allocations: 407.5 kB / 0.9487 GB, free: 18.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02284/1.639, allocations: 8.612 MB / 0.9571 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009644/1.64, allocations: 67.98 kB / 0.9571 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07024/1.71, allocations: 30.58 MB / 0.987 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.71, allocations: 0 / 0.987 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3059/2.016, allocations: 24.18 MB / 1.011 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/2.018, allocations: 0.5642 MB / 1.011 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/2.019, allocations: 63.91 kB / 1.011 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00406/2.023, allocations: 0.4978 MB / 1.012 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002886/2.026, allocations: 0.7738 MB / 1.012 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003381/2.026, allocations: 94.89 kB / 1.013 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003426/2.03, allocations: 2.115 MB / 1.015 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/2.03, allocations: 0 / 1.015 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008489/2.038, allocations: 2.995 MB / 1.018 GB, free: 175.4 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 (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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005139/2.039, allocations: 205 kB / 1.018 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.04293/2.082, allocations: 17.93 MB / 1.035 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/2.082, allocations: 3.969 kB / 1.035 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0168/2.098, allocations: 6.94 MB / 1.042 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/2.102, allocations: 382.4 kB / 1.042 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/2.117, allocations: 9.604 MB / 1.052 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/2.119, allocations: 2.51 MB / 1.054 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002846/2.122, allocations: 453.6 kB / 1.055 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009162/2.123, allocations: 233 kB / 1.055 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.353e-06/2.123, allocations: 0 / 1.055 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1476/2.27, allocations: 110.2 MB / 1.162 GB, free: 56.32 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)