Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009304/0.0009303, allocations: 175.2 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.222/1.222, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.000889/0.000889, allocations: 88.34 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.4645/0.4645, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.9e-05, allocations: 4 kB / 492.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3417, allocations: 69.51 MB / 0.5491 GB, free: 19.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4686, allocations: 101.7 MB / 0.6484 GB, free: 13.97 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4688, allocations: 75.95 kB / 0.6485 GB, free: 13.89 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.521/0.9899, allocations: 100.5 MB / 0.7466 GB, free: 60.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.9899, allocations: 0 / 0.7466 GB, free: 60.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003128/0.9902, allocations: 87.94 kB / 0.7467 GB, free: 60.77 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01784/1.008, allocations: 5.731 MB / 0.7523 GB, free: 54.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.008, allocations: 11.97 kB / 0.7523 GB, free: 54.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01681/1.025, allocations: 2.787 MB / 0.755 GB, free: 52.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004931/1.03, allocations: 2.259 MB / 0.7572 GB, free: 49.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007724/1.031, allocations: 0.9557 MB / 0.7581 GB, free: 48.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/1.032, allocations: 344 kB / 0.7585 GB, free: 48.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00838/1.04, allocations: 4.084 MB / 0.7624 GB, free: 44.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-05/1.04, allocations: 0 / 0.7624 GB, free: 44.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005002/1.041, allocations: 140 kB / 0.7626 GB, free: 44.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/1.041, allocations: 84 kB / 0.7627 GB, free: 44.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006123/1.047, allocations: 3.613 MB / 0.7662 GB, free: 40.45 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.03211/1.079, allocations: 18.62 MB / 0.7844 GB, free: 20.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00999/1.089, allocations: 4.743 MB / 0.789 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003789/1.093, allocations: 2.217 MB / 0.7912 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006649/1.094, allocations: 70.91 kB / 0.7912 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/1.094, allocations: 73.52 kB / 0.7913 GB, free: 13.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=379): time 7.885e-06/1.094, allocations: 0 / 0.7913 GB, free: 13.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=379): time 0.05134/1.145, allocations: 17.44 MB / 0.8083 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.145, allocations: 171.5 kB / 0.8085 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006113/1.151, allocations: 2.646 MB / 0.8111 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/1.153, allocations: 85.7 kB / 0.8112 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001907/1.155, allocations: 1.987 MB / 0.8131 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002353/1.157, allocations: 1.286 MB / 0.8144 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004517/1.157, allocations: 76 kB / 0.8144 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002722/1.158, allocations: 437.5 kB / 0.8149 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/1.161, allocations: 1.815 MB / 0.8166 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003461/1.164, allocations: 2.398 MB / 0.819 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/1.168, allocations: 2.071 MB / 0.821 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.168, allocations: 4 kB / 0.821 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05347/1.221, allocations: 17.66 MB / 0.8382 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002119/1.224, allocations: 6.68 MB / 0.8448 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/1.224, allocations: 12 kB / 0.8448 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02377/1.247, allocations: 6.911 MB / 0.8515 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/1.25, allocations: 0.5422 MB / 0.8521 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05922/1.31, allocations: 25.59 MB / 0.877 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006311/1.316, allocations: 0.7036 MB / 0.8777 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.317, allocations: 124 kB / 0.8778 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.317, allocations: 4 kB / 0.8779 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05094/1.368, allocations: 17.23 MB / 0.8947 GB, free: 2.355 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-05/1.368, allocations: 19.95 kB / 0.8947 GB, free: 2.336 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3561/1.724, allocations: 6.917 MB / 0.9015 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/1.727, allocations: 0.5295 MB / 0.902 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05558/1.783, allocations: 25.55 MB / 0.9269 GB, free: 124.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005835/1.789, allocations: 0.6733 MB / 0.9276 GB, free: 124.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005688/1.789, allocations: 129.1 kB / 0.9277 GB, free: 124.6 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 317 * 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 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008877/1.79, allocations: 333.2 kB / 0.928 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009714/1.791, allocations: 459.5 kB / 0.9285 GB, free: 124.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04749/1.839, allocations: 17.97 MB / 0.946 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/1.839, allocations: 43.92 kB / 0.946 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.742e-05/1.839, allocations: 30.44 kB / 0.9461 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-05/1.839, allocations: 18.09 kB / 0.9461 GB, free: 121.1 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.05484/1.894, allocations: 23.23 MB / 0.9688 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/1.894, allocations: 4.594 kB / 0.9688 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002543/1.896, allocations: 400.6 kB / 0.9692 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02143/1.918, allocations: 6.968 MB / 0.976 GB, free: 109.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001483/1.919, allocations: 71.17 kB / 0.976 GB, free: 109.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04804/1.967, allocations: 22.57 MB / 0.9981 GB, free: 89.98 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.967, allocations: 0 / 0.9981 GB, free: 89.98 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05371/2.021, allocations: 20.79 MB / 1.018 GB, free: 72.97 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/2.023, allocations: 0.5522 MB / 1.019 GB, free: 72.48 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/2.024, allocations: 60 kB / 1.019 GB, free: 72.42 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004848/2.029, allocations: 0.4968 MB / 1.019 GB, free: 72.03 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003293/2.032, allocations: 0.7635 MB / 1.02 GB, free: 71.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003897/2.032, allocations: 94.2 kB / 1.02 GB, free: 71.53 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003157/2.036, allocations: 2.015 MB / 1.022 GB, free: 69.67 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.71e-07/2.036, allocations: 3.281 kB / 1.022 GB, free: 69.67 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008146/2.044, allocations: 2.869 MB / 1.025 GB, free: 66.93 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (249): * Single equations (assignments): 247 * 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.000571/2.044, allocations: 221.3 kB / 1.025 GB, free: 66.72 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03614/2.08, allocations: 14.43 MB / 1.039 GB, free: 53.67 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/2.08, allocations: 0 / 1.039 GB, free: 53.67 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01683/2.097, allocations: 5.973 MB / 1.045 GB, free: 48.39 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/2.101, allocations: 306.3 kB / 1.045 GB, free: 48.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/2.112, allocations: 5.948 MB / 1.051 GB, free: 42.65 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/2.114, allocations: 2.592 MB / 1.054 GB, free: 40.72 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002826/2.117, allocations: 0.606 MB / 1.054 GB, free: 40.31 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/2.117, allocations: 171 kB / 1.055 GB, free: 40.16 MB / 0.573 GB Notification: Performance of SimCode: time 6.82e-07/2.117, allocations: 3.938 kB / 1.055 GB, free: 40.16 MB / 0.573 GB Notification: Performance of Templates: time 0.5231/2.64, allocations: 112.6 MB / 1.165 GB, free: 168.2 MB / 0.6042 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)