Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 180.2 kB / 7.65 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 221.5 MB / 229.6 MB, free: 3.195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000966/0.0009659, allocations: 96.14 kB / 280.5 MB, free: 1.176 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4409/0.4409, allocations: 78.12 MB / 409.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.119e-05/1.121e-05, allocations: 0 / 485 MB, free: 4.195 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3272, allocations: 69.34 MB / 0.5413 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4497, allocations: 101.5 MB / 0.6404 GB, free: 3.32 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.45, allocations: 79.89 kB / 0.6405 GB, free: 3.242 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5076/0.9575, allocations: 98.28 MB / 0.7364 GB, free: 72.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.9576, allocations: 0 / 0.7364 GB, free: 72.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001996/0.9578, allocations: 88 kB / 0.7365 GB, free: 72.24 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01566/0.9734, allocations: 5.77 MB / 0.7422 GB, free: 66.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.9735, allocations: 8.031 kB / 0.7422 GB, free: 66.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/0.9899, allocations: 2.772 MB / 0.7449 GB, free: 63.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004408/0.9943, allocations: 2.279 MB / 0.7471 GB, free: 61.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006495/0.995, allocations: 0.8462 MB / 0.7479 GB, free: 60.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007044/0.9957, allocations: 199.9 kB / 0.7481 GB, free: 60.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005621/1.001, allocations: 3.443 MB / 0.7515 GB, free: 56.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005494/1.007, allocations: 3.598 MB / 0.755 GB, free: 53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.217e-05/1.007, allocations: 0 / 0.755 GB, free: 53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003343/1.007, allocations: 0 / 0.755 GB, free: 53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/1.007, allocations: 88 kB / 0.7551 GB, free: 52.91 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0272/1.035, allocations: 18.16 MB / 0.7728 GB, free: 33.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008943/1.043, allocations: 4.659 MB / 0.7774 GB, free: 28.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/1.046, allocations: 2.126 MB / 0.7794 GB, free: 26.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/1.047, allocations: 66.91 kB / 0.7795 GB, free: 26.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/1.047, allocations: 81.47 kB / 0.7796 GB, free: 26.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=381): time 5.911e-06/1.047, allocations: 7.938 kB / 0.7796 GB, free: 26.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=381): time 0.04701/1.094, allocations: 17.17 MB / 0.7964 GB, free: 9.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/1.094, allocations: 167.5 kB / 0.7965 GB, free: 9.125 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003774/1.098, allocations: 2.472 MB / 0.7989 GB, free: 6.641 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008875/1.099, allocations: 25.7 kB / 0.799 GB, free: 6.609 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/1.1, allocations: 2.006 MB / 0.8009 GB, free: 4.586 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001333/1.101, allocations: 1.254 MB / 0.8021 GB, free: 3.312 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/1.101, allocations: 4 kB / 0.8021 GB, free: 3.309 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/1.101, allocations: 437.6 kB / 0.8026 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/1.104, allocations: 1.757 MB / 0.8043 GB, free: 1.117 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/1.107, allocations: 2.318 MB / 0.8065 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/1.11, allocations: 1.956 MB / 0.8085 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.11, allocations: 4 kB / 0.8085 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05012/1.16, allocations: 17.27 MB / 0.8253 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00211/1.162, allocations: 6.671 MB / 0.8318 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/1.162, allocations: 16 kB / 0.8318 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0229/1.185, allocations: 6.823 MB / 0.8385 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003215/1.188, allocations: 0.5578 MB / 0.8391 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05594/1.244, allocations: 24.93 MB / 0.8634 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005979/1.25, allocations: 0.6254 MB / 0.864 GB, free: 3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008101/1.251, allocations: 132 kB / 0.8641 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.251, allocations: 7.938 kB / 0.8641 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0492/1.3, allocations: 16.78 MB / 0.8805 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.047e-05/1.3, allocations: 12 kB / 0.8805 GB, free: 2.027 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02231/1.323, allocations: 6.812 MB / 0.8872 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/1.326, allocations: 0.5539 MB / 0.8877 GB, free: 10.65 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3577/1.684, allocations: 24.91 MB / 0.9121 GB, free: 139.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005753/1.689, allocations: 0.5935 MB / 0.9126 GB, free: 139 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006497/1.69, allocations: 133.2 kB / 0.9128 GB, free: 139 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.0009111/1.691, allocations: 200.1 kB / 0.913 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.692, allocations: 454 kB / 0.9134 GB, free: 138.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04797/1.74, allocations: 17.64 MB / 0.9306 GB, free: 138.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.449e-05/1.74, allocations: 39.89 kB / 0.9307 GB, free: 138.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.034e-05/1.74, allocations: 29.12 kB / 0.9307 GB, free: 138.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.88e-05/1.74, allocations: 17.73 kB / 0.9307 GB, free: 138.4 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.05466/1.795, allocations: 22.55 MB / 0.9527 GB, free: 135.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/1.795, allocations: 3.688 kB / 0.9527 GB, free: 135.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.797, allocations: 404.7 kB / 0.9531 GB, free: 135.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02063/1.818, allocations: 6.901 MB / 0.9598 GB, free: 134.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007211/1.819, allocations: 26.47 kB / 0.9599 GB, free: 134.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04618/1.865, allocations: 22.27 MB / 0.9816 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.785e-05/1.865, allocations: 5.031 kB / 0.9816 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05159/1.917, allocations: 20.49 MB / 1.002 GB, free: 98.53 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.918, allocations: 0.5612 MB / 1.002 GB, free: 98.04 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009017/1.919, allocations: 4 kB / 1.002 GB, free: 98.03 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004399/1.923, allocations: 434.5 kB / 1.003 GB, free: 97.71 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002683/1.926, allocations: 0.7677 MB / 1.003 GB, free: 97.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003473/1.926, allocations: 94.84 kB / 1.003 GB, free: 97.21 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002275/1.929, allocations: 1.83 MB / 1.005 GB, free: 95.53 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.31e-07/1.929, allocations: 0 / 1.005 GB, free: 95.53 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007851/1.936, allocations: 2.611 MB / 1.008 GB, free: 93.02 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * 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.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006606/1.937, allocations: 163.3 kB / 1.008 GB, free: 92.86 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03515/1.972, allocations: 13.99 MB / 1.022 GB, free: 80.23 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.972, allocations: 3.281 kB / 1.022 GB, free: 80.23 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01617/1.989, allocations: 5.847 MB / 1.027 GB, free: 75.08 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/1.991, allocations: 246.8 kB / 1.028 GB, free: 74.85 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009823/2.001, allocations: 5.967 MB / 1.033 GB, free: 69.39 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/2.002, allocations: 2.604 MB / 1.036 GB, free: 67.46 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002738/2.005, allocations: 0.6061 MB / 1.037 GB, free: 67.05 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/2.006, allocations: 175 kB / 1.037 GB, free: 66.89 MB / 0.573 GB Notification: Performance of SimCode: time 6.71e-07/2.006, allocations: 0 / 1.037 GB, free: 66.89 MB / 0.573 GB Notification: Performance of Templates: time 0.3988/2.405, allocations: 104.3 MB / 1.139 GB, free: 163.1 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)