Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 174.8 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.268/1.268, 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.0008576/0.0008577, allocations: 93.06 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4346/0.4346, allocations: 78.02 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.948e-05/2.957e-05, allocations: 4 kB / 491.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2918, allocations: 69.34 MB / 0.548 GB, free: 20.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.4021, allocations: 102.4 MB / 0.648 GB, free: 14.06 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.4023, allocations: 79.95 kB / 0.6481 GB, free: 13.98 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.488/0.8904, allocations: 100.1 MB / 0.7458 GB, free: 61.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.8904, allocations: 7.938 kB / 0.7458 GB, free: 61.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003298/0.8907, allocations: 87.94 kB / 0.7459 GB, free: 61.85 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01643/0.9072, allocations: 5.786 MB / 0.7516 GB, free: 55.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.9072, allocations: 15.97 kB / 0.7516 GB, free: 55.97 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001412/0.9086, allocations: 488.8 kB / 0.752 GB, free: 55.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.9246, allocations: 2.787 MB / 0.7548 GB, free: 52.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004955/0.9296, allocations: 2.283 MB / 0.757 GB, free: 50.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007218/0.9303, allocations: 0.9595 MB / 0.7579 GB, free: 49.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001072/0.9314, allocations: 343.9 kB / 0.7583 GB, free: 48.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007578/0.939, allocations: 4.104 MB / 0.7623 GB, free: 44.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.395e-05/0.9391, allocations: 3.953 kB / 0.7623 GB, free: 44.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004351/0.9395, allocations: 140 kB / 0.7624 GB, free: 44.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.9396, allocations: 84 kB / 0.7625 GB, free: 44.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006196/0.9458, allocations: 3.628 MB / 0.766 GB, free: 40.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.0304/0.9762, allocations: 18.74 MB / 0.7843 GB, free: 20.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009348/0.9856, allocations: 4.789 MB / 0.789 GB, free: 16.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003444/0.9891, allocations: 2.237 MB / 0.7912 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005294/0.9896, allocations: 70.92 kB / 0.7913 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.9897, allocations: 69.56 kB / 0.7913 GB, free: 13.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 4.809e-06/0.9897, allocations: 0 / 0.7913 GB, free: 13.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.04784/1.038, allocations: 17.48 MB / 0.8084 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/1.038, allocations: 171.5 kB / 0.8086 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/1.043, allocations: 2.682 MB / 0.8112 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008359/1.044, allocations: 85.7 kB / 0.8113 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/1.045, allocations: 2.006 MB / 0.8132 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001854/1.047, allocations: 1.309 MB / 0.8145 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000563/1.047, allocations: 68 kB / 0.8146 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002465/1.048, allocations: 445.6 kB / 0.815 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003482/1.051, allocations: 1.831 MB / 0.8168 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003885/1.055, allocations: 2.426 MB / 0.8192 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00397/1.059, allocations: 2.091 MB / 0.8212 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/1.059, allocations: 4 kB / 0.8212 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05134/1.111, allocations: 17.75 MB / 0.8385 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002431/1.113, allocations: 6.692 MB / 0.8451 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/1.113, allocations: 16 kB / 0.8451 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02305/1.136, allocations: 7.001 MB / 0.8519 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/1.139, allocations: 0.5305 MB / 0.8524 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06361/1.203, allocations: 26.94 MB / 0.8787 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005703/1.208, allocations: 0.6996 MB / 0.8794 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008358/1.209, allocations: 132 kB / 0.8796 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/1.209, allocations: 4 kB / 0.8796 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05022/1.259, allocations: 17.34 MB / 0.8965 GB, free: 0.6797 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-05/1.26, allocations: 16 kB / 0.8965 GB, free: 0.6641 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.312/1.572, allocations: 6.995 MB / 0.9033 GB, free: 127.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/1.574, allocations: 0.5242 MB / 0.9039 GB, free: 127.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05624/1.63, allocations: 26.92 MB / 0.9301 GB, free: 124.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005438/1.636, allocations: 0.6653 MB / 0.9308 GB, free: 124.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006674/1.637, allocations: 131.2 kB / 0.9309 GB, free: 124.1 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.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 (325): * Single equations (assignments): 321 * 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.0009093/1.638, allocations: 322.9 kB / 0.9312 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.639, allocations: 462.2 kB / 0.9317 GB, free: 123.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04684/1.685, allocations: 18.02 MB / 0.9493 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/1.686, allocations: 39.8 kB / 0.9493 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.512e-05/1.686, allocations: 29.06 kB / 0.9493 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.858e-05/1.686, allocations: 19.17 kB / 0.9493 GB, free: 120.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.05535/1.741, allocations: 23.32 MB / 0.9721 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/1.741, allocations: 0 / 0.9721 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002431/1.744, allocations: 410 kB / 0.9725 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0211/1.765, allocations: 6.941 MB / 0.9793 GB, free: 107.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009323/1.766, allocations: 78.61 kB / 0.9794 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04637/1.812, allocations: 22.56 MB / 1.001 GB, free: 87.04 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.812, allocations: 0 / 1.001 GB, free: 87.04 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05214/1.864, allocations: 20.87 MB / 1.022 GB, free: 69.93 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/1.866, allocations: 0.566 MB / 1.022 GB, free: 69.43 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/1.867, allocations: 67.94 kB / 1.022 GB, free: 69.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004454/1.872, allocations: 487.2 kB / 1.023 GB, free: 68.99 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002693/1.874, allocations: 0.7719 MB / 1.024 GB, free: 68.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003174/1.875, allocations: 99.75 kB / 1.024 GB, free: 68.48 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002459/1.877, allocations: 2.037 MB / 1.026 GB, free: 66.59 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.61e-07/1.877, allocations: 0 / 1.026 GB, free: 66.59 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006892/1.884, allocations: 2.895 MB / 1.029 GB, free: 63.82 MB / 0.573 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 () * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05135/1.935, allocations: 21.6 MB / 1.05 GB, free: 45.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03723/1.973, allocations: 14.75 MB / 1.064 GB, free: 32.51 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.973, allocations: 0 / 1.064 GB, free: 32.51 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01689/1.99, allocations: 6.001 MB / 1.07 GB, free: 27.21 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/1.993, allocations: 315.2 kB / 1.07 GB, free: 26.92 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/2.011, allocations: 6.889 MB / 1.077 GB, free: 20.76 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/2.013, allocations: 2.604 MB / 1.079 GB, free: 18.82 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003513/2.017, allocations: 0.6048 MB / 1.08 GB, free: 18.41 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/2.019, allocations: 1.919 MB / 1.082 GB, free: 16.64 MB / 0.573 GB Notification: Performance of SimCode: time 9.52e-07/2.019, allocations: 0 / 1.082 GB, free: 16.64 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4778/2.497, allocations: 149 MB / 1.227 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001244/2.497, allocations: 195.3 kB / 1.228 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/9.924, allocations: 0 / 1.228 GB, free: 110.3 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)