Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",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.008712/0.008712, allocations: 172.7 kB / 15.12 MB, free: 6.031 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.416/1.416, allocations: 223.2 MB / 239 MB, free: 1.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008789/0.0008788, allocations: 98.64 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5227/0.5227, allocations: 78.6 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004061, allocations: 16 kB / 499.9 MB, free: 2.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3765, allocations: 69.34 MB / 0.5559 GB, free: 38.89 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01061/0.3871, allocations: 12.23 MB / 0.5678 GB, free: 33.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00789/0.395, allocations: 3.626 MB / 0.5713 GB, free: 30.4 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.3987, allocations: 36.12 kB / 0.5714 GB, free: 30.4 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002559/0.4013, allocations: 400.5 kB / 0.5718 GB, free: 30.22 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006723/0.408, allocations: 1.363 MB / 0.5731 GB, free: 29.27 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.4117, allocations: 1.287 MB / 0.5743 GB, free: 28.62 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004789/0.4165, allocations: 2.419 MB / 0.5767 GB, free: 27.3 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.4181, allocations: 0.6928 MB / 0.5774 GB, free: 26.96 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.4203, allocations: 1.343 MB / 0.5787 GB, free: 26.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.4228, allocations: 1.697 MB / 0.5803 GB, free: 25.59 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.4239, allocations: 143.2 kB / 0.5805 GB, free: 25.59 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.4255, allocations: 268.2 kB / 0.5807 GB, free: 25.55 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009205/0.4264, allocations: 0.5992 MB / 0.5813 GB, free: 25.2 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.4275, allocations: 0.5231 MB / 0.5818 GB, free: 24.88 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.4308, allocations: 2.872 MB / 0.5846 GB, free: 24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.4308, allocations: 0 / 0.5846 GB, free: 24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4308, allocations: 0 / 0.5846 GB, free: 24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000161/0.4309, allocations: 0 / 0.5846 GB, free: 24 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02127/0.4522, allocations: 6.258 MB / 0.5908 GB, free: 21.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4523, allocations: 9.281 kB / 0.5908 GB, free: 21.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008798/0.4532, allocations: 308.5 kB / 0.5911 GB, free: 21.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/0.4668, allocations: 2.296 MB / 0.5933 GB, free: 21.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.4709, allocations: 1.81 MB / 0.5951 GB, free: 20.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005872/0.4715, allocations: 0.7499 MB / 0.5958 GB, free: 19.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004364/0.472, allocations: 218 kB / 0.596 GB, free: 19.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006127/0.4781, allocations: 3.229 MB / 0.5992 GB, free: 18.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.4782, allocations: 0 / 0.5992 GB, free: 18.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.4784, allocations: 85.83 kB / 0.5992 GB, free: 18.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.4785, allocations: 49.5 kB / 0.5993 GB, free: 18.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005772/0.4842, allocations: 2.991 MB / 0.6022 GB, free: 17.07 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02007/0.5043, allocations: 10.51 MB / 0.6125 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/0.5163, allocations: 4.893 MB / 0.6173 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005119/0.5168, allocations: 48.5 kB / 0.6173 GB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004775/0.5216, allocations: 2.437 MB / 0.6197 GB, free: 7.738 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 4.138e-06/0.5216, allocations: 1.25 kB / 0.6197 GB, free: 7.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.1303/0.6519, allocations: 35.4 MB / 0.6543 GB, free: 4.652 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.6521, allocations: 184.2 kB / 0.6544 GB, free: 4.434 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004427/0.6565, allocations: 2.31 MB / 0.6567 GB, free: 2.105 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007695/0.6573, allocations: 77.69 kB / 0.6568 GB, free: 2.023 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009712/0.6583, allocations: 1.18 MB / 0.6579 GB, free: 0.832 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.6595, allocations: 0.878 MB / 0.6588 GB, free: 15.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.6598, allocations: 64 kB / 0.6588 GB, free: 15.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.66, allocations: 433 kB / 0.6592 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004835/0.6648, allocations: 2.173 MB / 0.6614 GB, free: 13.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005308/0.6701, allocations: 2.54 MB / 0.6638 GB, free: 10.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005694/0.6759, allocations: 2.444 MB / 0.6662 GB, free: 8.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/0.6759, allocations: 4 kB / 0.6662 GB, free: 8.156 MB / 474.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04896/0.7249, allocations: 15.3 MB / 0.6812 GB, free: 8.785 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.7251, allocations: 122.8 kB / 0.6813 GB, free: 8.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/0.7251, allocations: 4 kB / 0.6813 GB, free: 8.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02213/0.7473, allocations: 6.508 MB / 0.6877 GB, free: 2.117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/0.7506, allocations: 0.5695 MB / 0.6882 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07252/0.8232, allocations: 27.88 MB / 0.7154 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005409/0.8286, allocations: 0.587 MB / 0.716 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000624/0.8293, allocations: 120 kB / 0.7161 GB, free: 4.664 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 328 * 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: 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001484/0.8308, allocations: 0.5316 MB / 0.7166 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008049/0.8316, allocations: 300.2 kB / 0.7169 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04434/0.8759, allocations: 14.78 MB / 0.7314 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/0.876, allocations: 27.94 kB / 0.7314 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.537e-05/0.8761, allocations: 20 kB / 0.7314 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001156/0.8762, allocations: 11.95 kB / 0.7314 GB, free: 4.879 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0529/0.9291, allocations: 18.51 MB / 0.7495 GB, free: 2.133 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/0.9292, allocations: 0 / 0.7495 GB, free: 2.133 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/0.931, allocations: 255.6 kB / 0.7497 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01966/0.9507, allocations: 6.268 MB / 0.7559 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007773/0.9515, allocations: 51.98 kB / 0.7559 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3211/1.273, allocations: 26.86 MB / 0.7822 GB, free: 164.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.273, allocations: 2.781 kB / 0.7822 GB, free: 164.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04898/1.322, allocations: 17.39 MB / 0.7991 GB, free: 161 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.323, allocations: 418.1 kB / 0.7995 GB, free: 160.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007234/1.323, allocations: 52.36 kB / 0.7996 GB, free: 160.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/1.327, allocations: 410.2 kB / 0.8 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002184/1.329, allocations: 0.5785 MB / 0.8005 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/1.329, allocations: 66.98 kB / 0.8006 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002399/1.332, allocations: 1.525 MB / 0.8021 GB, free: 160 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.61e-07/1.332, allocations: 0 / 0.8021 GB, free: 160 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003802/1.335, allocations: 1.196 MB / 0.8033 GB, free: 159.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04854/1.384, allocations: 18.15 MB / 0.821 GB, free: 152.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01948/1.404, allocations: 7.699 MB / 0.8285 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.404, allocations: 0 / 0.8285 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01392/1.418, allocations: 5.116 MB / 0.8335 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/1.419, allocations: 227.2 kB / 0.8337 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.432, allocations: 11.95 MB / 0.8454 GB, free: 129 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.433, allocations: 1.877 MB / 0.8472 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001031/1.434, allocations: 266.8 kB / 0.8475 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.435, allocations: 1.23 MB / 0.8487 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/1.435, allocations: 0 / 0.8487 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/1.539, allocations: 80.01 MB / 0.9268 GB, free: 45.87 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/1.539, allocations: 228.4 kB / 0.927 GB, free: 45.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.116/6.654, allocations: 3.875 kB / 0.927 GB, free: 45.62 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)