Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.001419, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 98.83 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4571/0.4571, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.42e-05, allocations: 4 kB / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3082, allocations: 69.34 MB / 0.548 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.4272, allocations: 99.1 MB / 0.6448 GB, free: 1.457 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.4275, allocations: 75.95 kB / 0.6448 GB, free: 1.383 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4346/0.8621, allocations: 66.5 MB / 0.7098 GB, free: 97.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.8621, allocations: 0 / 0.7098 GB, free: 97.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001483/0.8623, allocations: 66.84 kB / 0.7098 GB, free: 97.54 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01079/0.8731, allocations: 3.994 MB / 0.7137 GB, free: 94.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8732, allocations: 11.97 kB / 0.7138 GB, free: 94.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009597/0.8828, allocations: 1.597 MB / 0.7153 GB, free: 93.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/0.8858, allocations: 1.635 MB / 0.7169 GB, free: 91.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004922/0.8863, allocations: 0.6828 MB / 0.7176 GB, free: 90.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004974/0.8868, allocations: 207.9 kB / 0.7178 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/0.8909, allocations: 2.557 MB / 0.7203 GB, free: 88.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.891, allocations: 0 / 0.7203 GB, free: 88.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.8912, allocations: 84 kB / 0.7204 GB, free: 87.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.8912, allocations: 48 kB / 0.7204 GB, free: 87.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.8949, allocations: 2.316 MB / 0.7227 GB, free: 85.55 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.01535/0.9102, allocations: 9.997 MB / 0.7324 GB, free: 75.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008169/0.9184, allocations: 4.018 MB / 0.7363 GB, free: 70.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.9205, allocations: 1.523 MB / 0.7378 GB, free: 69.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.9208, allocations: 46.03 kB / 0.7379 GB, free: 69.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.9208, allocations: 64.5 kB / 0.7379 GB, free: 69.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=241): time 4.228e-06/0.9208, allocations: 0 / 0.7379 GB, free: 69.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=241): time 0.03381/0.9546, allocations: 12.29 MB / 0.7499 GB, free: 57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.9548, allocations: 235.6 kB / 0.7502 GB, free: 56.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.9573, allocations: 1.838 MB / 0.752 GB, free: 54.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005197/0.9578, allocations: 69.7 kB / 0.752 GB, free: 54.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005885/0.9584, allocations: 1.211 MB / 0.7532 GB, free: 53.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007016/0.9591, allocations: 0.8277 MB / 0.754 GB, free: 52.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.9593, allocations: 44 kB / 0.7541 GB, free: 52.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.9594, allocations: 394.6 kB / 0.7544 GB, free: 52.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/0.9613, allocations: 1.211 MB / 0.7556 GB, free: 51.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.9632, allocations: 1.531 MB / 0.7571 GB, free: 49.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.9651, allocations: 1.455 MB / 0.7585 GB, free: 47.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.9652, allocations: 3.953 kB / 0.7585 GB, free: 47.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.03353/0.9987, allocations: 12.43 MB / 0.7707 GB, free: 35.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004674/0.9992, allocations: 2.872 MB / 0.7735 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.9992, allocations: 4 kB / 0.7735 GB, free: 32.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01487/1.014, allocations: 5.11 MB / 0.7785 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/1.016, allocations: 378.9 kB / 0.7788 GB, free: 26.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03549/1.052, allocations: 17.52 MB / 0.7959 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/1.056, allocations: 0.5134 MB / 0.7964 GB, free: 8.637 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003352/1.056, allocations: 79.98 kB / 0.7965 GB, free: 8.559 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.056, allocations: 6.344 kB / 0.7965 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03349/1.089, allocations: 12.15 MB / 0.8084 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/1.089, allocations: 8 kB / 0.8084 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01666/1.106, allocations: 5.102 MB / 0.8134 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/1.108, allocations: 367.5 kB / 0.8137 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04192/1.15, allocations: 17.52 MB / 0.8308 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/1.154, allocations: 493.9 kB / 0.8313 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003375/1.155, allocations: 83.98 kB / 0.8314 GB, free: 4.602 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007288/1.155, allocations: 289.3 kB / 0.8317 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007491/1.156, allocations: 300.3 kB / 0.832 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03818/1.194, allocations: 12.62 MB / 0.8443 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/1.194, allocations: 24 kB / 0.8443 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/1.195, allocations: 20 kB / 0.8443 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-05/1.195, allocations: 11.95 kB / 0.8443 GB, free: 7.285 MB / 0.5261 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.04454/1.239, allocations: 16.34 MB / 0.8603 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.239, allocations: 0 / 0.8603 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/1.241, allocations: 271.6 kB / 0.8605 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01585/1.257, allocations: 4.862 MB / 0.8653 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005934/1.258, allocations: 55.98 kB / 0.8653 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03708/1.295, allocations: 15.36 MB / 0.8804 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.295, allocations: 0 / 0.8804 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04255/1.337, allocations: 14.54 MB / 0.8946 GB, free: 3.484 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.338, allocations: 408.9 kB / 0.8949 GB, free: 3.062 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007073/1.339, allocations: 44 kB / 0.895 GB, free: 3.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003033/1.342, allocations: 399.6 kB / 0.8954 GB, free: 2.629 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001983/1.344, allocations: 0.5447 MB / 0.8959 GB, free: 2.082 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002257/1.344, allocations: 67.94 kB / 0.896 GB, free: 2.016 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002049/1.346, allocations: 1.405 MB / 0.8973 GB, free: 0.6016 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.346, allocations: 0 / 0.8973 GB, free: 0.6016 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.2831/1.629, allocations: 1.76 MB / 0.8991 GB, free: 178.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 159 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007813/1.63, allocations: 187 kB / 0.8992 GB, free: 178.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02683/1.657, allocations: 9.994 MB / 0.909 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.657, allocations: 0.75 kB / 0.909 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01132/1.668, allocations: 4.076 MB / 0.913 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.67, allocations: 232.5 kB / 0.9132 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008017/1.678, allocations: 4.101 MB / 0.9172 GB, free: 175.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/1.68, allocations: 1.894 MB / 0.919 GB, free: 174.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002154/1.682, allocations: 449 kB / 0.9195 GB, free: 174.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/1.683, allocations: 119.4 kB / 0.9196 GB, free: 174.6 MB / 0.573 GB Notification: Performance of SimCode: time 6.42e-07/1.683, allocations: 2.625 kB / 0.9196 GB, free: 174.6 MB / 0.573 GB Notification: Performance of Templates: time 0.09147/1.774, allocations: 76.58 MB / 0.9944 GB, free: 115.9 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)