Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.001526/0.001526, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 221.5 MB / 229.6 MB, free: 3.176 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.0009639/0.000964, allocations: 98.27 kB / 280.5 MB, free: 1.141 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4277/0.4277, allocations: 78.06 MB / 409.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.501e-05/1.51e-05, allocations: 0 / 485 MB, free: 3.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2904, allocations: 69.35 MB / 0.5414 GB, free: 21.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.4026, allocations: 99.57 MB / 0.6386 GB, free: 4.98 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.4028, allocations: 83.94 kB / 0.6387 GB, free: 4.898 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4143/0.8172, allocations: 66.58 MB / 0.7037 GB, free: 98.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.8172, allocations: 3.656 kB / 0.7037 GB, free: 98.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001463/0.8174, allocations: 59.97 kB / 0.7038 GB, free: 98 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01067/0.828, allocations: 4.037 MB / 0.7077 GB, free: 95.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.8281, allocations: 11.5 kB / 0.7077 GB, free: 95.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00975/0.8379, allocations: 1.596 MB / 0.7093 GB, free: 95.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.8412, allocations: 1.648 MB / 0.7109 GB, free: 94.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000495/0.8417, allocations: 0.6189 MB / 0.7115 GB, free: 93.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004208/0.8421, allocations: 135.4 kB / 0.7116 GB, free: 93.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003441/0.8456, allocations: 2.226 MB / 0.7138 GB, free: 92.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/0.849, allocations: 2.282 MB / 0.716 GB, free: 91.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.8491, allocations: 7.219 kB / 0.716 GB, free: 91.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.8493, allocations: 3.562 kB / 0.716 GB, free: 91.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.8494, allocations: 46.25 kB / 0.7161 GB, free: 91.13 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.01609/0.8655, allocations: 9.749 MB / 0.7256 GB, free: 81.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008479/0.874, allocations: 3.949 MB / 0.7295 GB, free: 77.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/0.8761, allocations: 1.477 MB / 0.7309 GB, free: 76.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.8764, allocations: 43.72 kB / 0.7309 GB, free: 76.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.8764, allocations: 60.56 kB / 0.731 GB, free: 76.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.629e-06/0.8765, allocations: 0 / 0.731 GB, free: 76.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03467/0.9111, allocations: 12.09 MB / 0.7428 GB, free: 64.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.9112, allocations: 239.6 kB / 0.743 GB, free: 63.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.9137, allocations: 1.717 MB / 0.7447 GB, free: 62.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006014/0.9143, allocations: 25.7 kB / 0.7447 GB, free: 62.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005968/0.9149, allocations: 1.215 MB / 0.7459 GB, free: 60.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007844/0.9157, allocations: 0.8042 MB / 0.7467 GB, free: 60.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.9159, allocations: 0 / 0.7467 GB, free: 60.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.916, allocations: 398.6 kB / 0.7471 GB, free: 59.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.9177, allocations: 1.184 MB / 0.7482 GB, free: 58.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.9195, allocations: 1.488 MB / 0.7497 GB, free: 56.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.9213, allocations: 1.307 MB / 0.751 GB, free: 55.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.9213, allocations: 4 kB / 0.751 GB, free: 55.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03139/0.9527, allocations: 11.33 MB / 0.762 GB, free: 44.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004525/0.9532, allocations: 2.862 MB / 0.7648 GB, free: 41.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.9532, allocations: 15.98 kB / 0.7649 GB, free: 41.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01375/0.967, allocations: 4.623 MB / 0.7694 GB, free: 36.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003531/0.9706, allocations: 0.6866 MB / 0.77 GB, free: 35.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03123/1.002, allocations: 16.33 MB / 0.786 GB, free: 19.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/1.006, allocations: 493.7 kB / 0.7865 GB, free: 18.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004358/1.006, allocations: 83.98 kB / 0.7865 GB, free: 18.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/1.006, allocations: 4 kB / 0.7865 GB, free: 18.76 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03017/1.037, allocations: 11.01 MB / 0.7973 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/1.037, allocations: 4 kB / 0.7973 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01355/1.05, allocations: 4.634 MB / 0.8018 GB, free: 3.055 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/1.054, allocations: 0.6749 MB / 0.8025 GB, free: 2.379 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03484/1.089, allocations: 16.32 MB / 0.8184 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/1.093, allocations: 461.9 kB / 0.8189 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/1.093, allocations: 87.97 kB / 0.8189 GB, free: 1.387 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007026/1.094, allocations: 205.4 kB / 0.8191 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03643/1.13, allocations: 12.09 MB / 0.8309 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.132, allocations: 288.4 kB / 0.8312 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03763/1.169, allocations: 12.37 MB / 0.8433 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/1.169, allocations: 24 kB / 0.8433 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.12e-05/1.169, allocations: 23.95 kB / 0.8433 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.411e-05/1.169, allocations: 11.95 kB / 0.8434 GB, free: 8.324 MB / 0.5261 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.04324/1.213, allocations: 15.91 MB / 0.8589 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/1.213, allocations: 0 / 0.8589 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.214, allocations: 279.6 kB / 0.8592 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01497/1.229, allocations: 4.751 MB / 0.8638 GB, free: 3.312 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005913/1.23, allocations: 15.98 kB / 0.8638 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03334/1.263, allocations: 15.21 MB / 0.8787 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.264, allocations: 3.938 kB / 0.8787 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04127/1.305, allocations: 14.33 MB / 0.8927 GB, free: 5.574 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.306, allocations: 408.9 kB / 0.8931 GB, free: 5.152 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00053/1.307, allocations: 8 kB / 0.8931 GB, free: 5.145 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/1.31, allocations: 355.7 kB / 0.8934 GB, free: 4.797 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001782/1.311, allocations: 0.5486 MB / 0.8939 GB, free: 4.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.312, allocations: 67.98 kB / 0.894 GB, free: 4.184 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00189/1.314, allocations: 1.288 MB / 0.8953 GB, free: 2.891 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.21e-07/1.314, allocations: 0 / 0.8953 GB, free: 2.891 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004787/1.318, allocations: 1.579 MB / 0.8968 GB, free: 1.309 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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: 1 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3234/1.642, allocations: 15.05 MB / 0.9115 GB, free: 178 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02514/1.667, allocations: 9.712 MB / 0.921 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.667, allocations: 0.5625 kB / 0.921 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01125/1.678, allocations: 3.958 MB / 0.9249 GB, free: 176.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/1.681, allocations: 198.2 kB / 0.925 GB, free: 176.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/1.691, allocations: 4.552 MB / 0.9295 GB, free: 174.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/1.693, allocations: 1.892 MB / 0.9313 GB, free: 173.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002343/1.695, allocations: 459.9 kB / 0.9318 GB, free: 173.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/1.697, allocations: 1.183 MB / 0.9329 GB, free: 173.2 MB / 0.573 GB Notification: Performance of SimCode: time 7.22e-07/1.697, allocations: 0 / 0.9329 GB, free: 173.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/1.821, allocations: 91.65 MB / 1.022 GB, free: 93.35 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.821, allocations: 136.6 kB / 1.023 GB, free: 93.16 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.066/6.887, allocations: 4 kB / 1.023 GB, free: 93.16 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)