Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.001112/0.001112, allocations: 174.6 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.249/1.249, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.000874/0.000874, allocations: 96.58 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.429/0.429, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.13e-05, allocations: 8 kB / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.301, allocations: 69.34 MB / 0.548 GB, free: 20.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4155, allocations: 101 MB / 0.6467 GB, free: 15.41 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.4157, allocations: 75.95 kB / 0.6468 GB, free: 15.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4857/0.9014, allocations: 98.57 MB / 0.743 GB, free: 64.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.9015, allocations: 0 / 0.743 GB, free: 64.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001911/0.9017, allocations: 84 kB / 0.7431 GB, free: 64.57 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.01476/0.9164, allocations: 5.735 MB / 0.7487 GB, free: 58.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.9165, allocations: 11.97 kB / 0.7487 GB, free: 58.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001135/0.9176, allocations: 492.7 kB / 0.7492 GB, free: 58.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/0.9338, allocations: 2.775 MB / 0.7519 GB, free: 55.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004649/0.9384, allocations: 2.259 MB / 0.7541 GB, free: 53.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006608/0.9391, allocations: 0.9595 MB / 0.755 GB, free: 52.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007057/0.9398, allocations: 336 kB / 0.7553 GB, free: 51.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006507/0.9464, allocations: 4.084 MB / 0.7593 GB, free: 47.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-05/0.9464, allocations: 4 kB / 0.7593 GB, free: 47.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003588/0.9468, allocations: 140 kB / 0.7595 GB, free: 47.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.9468, allocations: 84 kB / 0.7596 GB, free: 47.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005307/0.9522, allocations: 3.609 MB / 0.7631 GB, free: 43.76 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.02912/0.9813, allocations: 18.62 MB / 0.7813 GB, free: 23.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009045/0.9904, allocations: 4.743 MB / 0.7859 GB, free: 19.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002978/0.9934, allocations: 2.215 MB / 0.7881 GB, free: 16.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/0.9938, allocations: 74.83 kB / 0.7881 GB, free: 16.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.9938, allocations: 77.53 kB / 0.7882 GB, free: 16.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=379): time 5.4e-06/0.9938, allocations: 0 / 0.7882 GB, free: 16.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=379): time 0.04666/1.04, allocations: 17.44 MB / 0.8052 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/1.041, allocations: 167.5 kB / 0.8054 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/1.045, allocations: 2.638 MB / 0.808 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007771/1.045, allocations: 93.7 kB / 0.8081 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/1.047, allocations: 1.99 MB / 0.81 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001672/1.048, allocations: 1.286 MB / 0.8113 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/1.049, allocations: 68 kB / 0.8113 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002124/1.049, allocations: 445.5 kB / 0.8117 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003184/1.052, allocations: 1.812 MB / 0.8135 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003877/1.056, allocations: 2.391 MB / 0.8158 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003733/1.06, allocations: 2.075 MB / 0.8179 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/1.06, allocations: 4 kB / 0.8179 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05155/1.111, allocations: 17.65 MB / 0.8351 GB, free: 244 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001866/1.113, allocations: 6.674 MB / 0.8416 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/1.113, allocations: 12 kB / 0.8416 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02284/1.136, allocations: 6.926 MB / 0.8484 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/1.139, allocations: 0.5383 MB / 0.8489 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05934/1.198, allocations: 25.58 MB / 0.8739 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005589/1.204, allocations: 0.6957 MB / 0.8746 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007168/1.205, allocations: 128 kB / 0.8747 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.205, allocations: 6.344 kB / 0.8747 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04993/1.255, allocations: 17.24 MB / 0.8916 GB, free: 5.688 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.389e-05/1.255, allocations: 12 kB / 0.8916 GB, free: 5.676 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.302/1.557, allocations: 6.913 MB / 0.8983 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/1.56, allocations: 0.5291 MB / 0.8988 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0593/1.619, allocations: 25.55 MB / 0.9238 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005691/1.625, allocations: 0.6618 MB / 0.9244 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005289/1.625, allocations: 133.8 kB / 0.9246 GB, free: 127 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.0008726/1.626, allocations: 325.1 kB / 0.9249 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/1.627, allocations: 451.3 kB / 0.9253 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04757/1.675, allocations: 17.99 MB / 0.9429 GB, free: 123.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/1.675, allocations: 41.17 kB / 0.9429 GB, free: 123.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.088e-05/1.675, allocations: 27.5 kB / 0.9429 GB, free: 123.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.224e-05/1.675, allocations: 17.95 kB / 0.9429 GB, free: 123.5 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.05547/1.731, allocations: 23.21 MB / 0.9656 GB, free: 117.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-05/1.731, allocations: 10.59 kB / 0.9656 GB, free: 117.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002425/1.733, allocations: 397.7 kB / 0.966 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02075/1.754, allocations: 6.968 MB / 0.9728 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001178/1.755, allocations: 71.7 kB / 0.9729 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04799/1.803, allocations: 22.55 MB / 0.9949 GB, free: 93.94 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.803, allocations: 12.27 kB / 0.9949 GB, free: 93.93 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05101/1.854, allocations: 20.78 MB / 1.015 GB, free: 76.93 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.856, allocations: 0.5547 MB / 1.016 GB, free: 76.44 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/1.857, allocations: 72.66 kB / 1.016 GB, free: 76.37 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004442/1.861, allocations: 487.9 kB / 1.016 GB, free: 76 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002769/1.864, allocations: 0.7655 MB / 1.017 GB, free: 75.58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003928/1.864, allocations: 91.56 kB / 1.017 GB, free: 75.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00251/1.867, allocations: 2.006 MB / 1.019 GB, free: 73.64 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.02e-07/1.867, allocations: 0 / 1.019 GB, free: 73.64 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006929/1.874, allocations: 2.867 MB / 1.022 GB, free: 70.89 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.05218/1.926, allocations: 21.52 MB / 1.043 GB, free: 53.05 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03653/1.963, allocations: 14.41 MB / 1.057 GB, free: 40.01 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.963, allocations: 0 / 1.057 GB, free: 40.01 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0181/1.981, allocations: 5.985 MB / 1.063 GB, free: 34.72 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/1.984, allocations: 318.2 kB / 1.063 GB, free: 34.42 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/2.001, allocations: 6.61 MB / 1.07 GB, free: 28.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/2.004, allocations: 2.588 MB / 1.072 GB, free: 26.55 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003835/2.008, allocations: 0.608 MB / 1.073 GB, free: 26.15 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002467/2.01, allocations: 1.939 MB / 1.075 GB, free: 24.38 MB / 0.573 GB Notification: Performance of SimCode: time 9.42e-07/2.01, allocations: 3.938 kB / 1.075 GB, free: 24.37 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5122/2.522, allocations: 147.6 MB / 1.219 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001248/2.522, allocations: 179.2 kB / 1.219 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/9.881, allocations: 1.312 kB / 1.219 GB, free: 125.5 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)