Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000998/0.0009979, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000809/0.000809, allocations: 85.92 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06124/0.06124, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2699/0.2699, allocations: 78.02 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.359e-05, allocations: 8 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09693, allocations: 69.24 MB / 0.5889 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4454, allocations: 99.94 MB / 0.6865 GB, free: 352 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.4457, allocations: 76.64 kB / 0.6866 GB, free: 312 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08896/0.5346, allocations: 34.21 MB / 0.72 GB, free: 3.426 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5347, allocations: 3.938 kB / 0.72 GB, free: 3.422 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.692e-05/0.5348, allocations: 23.94 kB / 0.72 GB, free: 3.398 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00411/0.5389, allocations: 1.69 MB / 0.7217 GB, free: 1.758 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5389, allocations: 15.98 kB / 0.7217 GB, free: 1.742 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.5392, allocations: 129.8 kB / 0.7218 GB, free: 1.656 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.5424, allocations: 0.5611 MB / 0.7224 GB, free: 1.137 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.5438, allocations: 0.7837 MB / 0.7231 GB, free: 480 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.5441, allocations: 238.5 kB / 0.7234 GB, free: 236 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.5442, allocations: 79.8 kB / 0.7234 GB, free: 180 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.5457, allocations: 0.9276 MB / 0.7243 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5458, allocations: 4 kB / 0.7243 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.313e-05/0.5459, allocations: 28.38 kB / 0.7244 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.5459, allocations: 23.95 kB / 0.7244 GB, free: 15.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.5473, allocations: 0.8376 MB / 0.7252 GB, free: 15 MB / 474.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.006076/0.5533, allocations: 3.842 MB / 0.729 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006812/0.5602, allocations: 2.607 MB / 0.7315 GB, free: 9.531 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008023/0.561, allocations: 0.5434 MB / 0.732 GB, free: 9.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.5611, allocations: 16.77 kB / 0.7321 GB, free: 9.215 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.5612, allocations: 45.03 kB / 0.7321 GB, free: 9.168 MB / 474.7 MB Notification: Performance of pre-optimization done (n=93): time 3.447e-06/0.5612, allocations: 0 / 0.7321 GB, free: 9.168 MB / 474.7 MB Notification: Performance of matching and sorting (n=93): time 0.01134/0.5725, allocations: 3.885 MB / 0.7359 GB, free: 5.805 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.5726, allocations: 144.6 kB / 0.736 GB, free: 5.637 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.5739, allocations: 0.8776 MB / 0.7369 GB, free: 4.969 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.5741, allocations: 43.45 kB / 0.7369 GB, free: 4.934 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.5744, allocations: 0.5087 MB / 0.7374 GB, free: 4.656 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.5747, allocations: 332 kB / 0.7377 GB, free: 4.371 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/0.5748, allocations: 17.56 kB / 0.7378 GB, free: 4.367 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5749, allocations: 342.2 kB / 0.7381 GB, free: 4.043 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/0.5756, allocations: 437.2 kB / 0.7385 GB, free: 3.805 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007746/0.5764, allocations: 0.5709 MB / 0.7391 GB, free: 3.402 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.5772, allocations: 0.5377 MB / 0.7396 GB, free: 3.051 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.5772, allocations: 4 kB / 0.7396 GB, free: 3.047 MB / 474.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01154/0.5887, allocations: 4.055 MB / 0.7436 GB, free: 15.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003551/0.5891, allocations: 1.204 MB / 0.7447 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5891, allocations: 0 / 0.7447 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005054/0.5942, allocations: 1.493 MB / 0.7462 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008853/0.5951, allocations: 166.9 kB / 0.7463 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.6081, allocations: 6.516 MB / 0.7527 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.6097, allocations: 191.1 kB / 0.7529 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.6099, allocations: 32 kB / 0.7529 GB, free: 6.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6099, allocations: 4 kB / 0.7529 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01153/0.6215, allocations: 3.946 MB / 0.7568 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.6215, allocations: 4 kB / 0.7568 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004941/0.6265, allocations: 1.476 MB / 0.7582 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/0.6274, allocations: 159.7 kB / 0.7584 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/0.6411, allocations: 6.528 MB / 0.7648 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.6429, allocations: 179.1 kB / 0.7649 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.6432, allocations: 35.98 kB / 0.765 GB, free: 9.84 MB / 0.4948 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004521/0.6436, allocations: 195 kB / 0.7651 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/0.6441, allocations: 130.4 kB / 0.7653 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/0.656, allocations: 4.008 MB / 0.7692 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.656, allocations: 8 kB / 0.7692 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.6561, allocations: 8 kB / 0.7692 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.6561, allocations: 7.984 kB / 0.7692 GB, free: 5.461 MB / 0.4948 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.01379/0.6699, allocations: 5.61 MB / 0.7747 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.6699, allocations: 0 / 0.7747 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/0.6706, allocations: 107.9 kB / 0.7748 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004451/0.6751, allocations: 1.414 MB / 0.7762 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.6753, allocations: 24 kB / 0.7762 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.6864, allocations: 5.736 MB / 0.7818 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6865, allocations: 0 / 0.7818 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/0.7029, allocations: 4.725 MB / 0.7864 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007228/0.7036, allocations: 231.2 kB / 0.7866 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004821/0.7042, allocations: 24 kB / 0.7866 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/0.7065, allocations: 139.8 kB / 0.7868 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000907/0.7074, allocations: 176.5 kB / 0.787 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.7076, allocations: 31.98 kB / 0.787 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001751/0.7094, allocations: 0.6778 MB / 0.7876 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.01e-07/0.7094, allocations: 0 / 0.7876 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003112/0.7125, allocations: 0.6592 MB / 0.7883 GB, free: 1.598 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02468/0.7372, allocations: 5.396 MB / 0.7936 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01519/0.7525, allocations: 3.623 MB / 0.7971 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.7525, allocations: 7.938 kB / 0.7971 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006405/0.7589, allocations: 1.421 MB / 0.7985 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.7602, allocations: 108.5 kB / 0.7986 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/0.7659, allocations: 1.985 MB / 0.8005 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009374/0.7669, allocations: 1.158 MB / 0.8017 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001424/0.7683, allocations: 202.1 kB / 0.8019 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008147/0.7692, allocations: 451.3 kB / 0.8023 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/0.7692, allocations: 4 kB / 0.8023 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08559/0.8548, allocations: 37.83 MB / 0.8392 GB, free: 13.28 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.855, allocations: 193.6 kB / 0.8394 GB, free: 13.06 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.966/3.821, allocations: 0 / 0.8394 GB, free: 13.06 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)