Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",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.0009879/0.0009878, allocations: 174.5 kB / 7.647 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.285/1.285, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008671/0.0008675, allocations: 98.34 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4673/0.4673, allocations: 78.07 MB / 409.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.087e-05, allocations: 7.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 69.36 MB / 0.5414 GB, free: 6.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.5014, allocations: 97.93 MB / 0.637 GB, free: 1.496 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5017, allocations: 81.81 kB / 0.6371 GB, free: 1.418 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1569/0.6586, allocations: 60.03 MB / 0.6957 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6586, allocations: 0 / 0.6957 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001295/0.6588, allocations: 47.94 kB / 0.6958 GB, free: 5.238 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01122/0.67, allocations: 3.743 MB / 0.6994 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.6701, allocations: 8.031 kB / 0.6994 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009744/0.6798, allocations: 1.569 MB / 0.701 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.683, allocations: 1.46 MB / 0.7024 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006214/0.6836, allocations: 0.6084 MB / 0.703 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004331/0.6841, allocations: 119.9 kB / 0.7031 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003827/0.6879, allocations: 2.079 MB / 0.7051 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/0.6917, allocations: 2.142 MB / 0.7072 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.6918, allocations: 0 / 0.7072 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/0.692, allocations: 0 / 0.7072 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.6921, allocations: 47.95 kB / 0.7073 GB, free: 9.223 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.01917/0.7112, allocations: 9.295 MB / 0.7163 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009785/0.7211, allocations: 3.951 MB / 0.7202 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/0.7238, allocations: 1.37 MB / 0.7215 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003629/0.7242, allocations: 45.95 kB / 0.7216 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.7242, allocations: 64.5 kB / 0.7216 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 5.02e-06/0.7242, allocations: 3.938 kB / 0.7216 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of matching and sorting (n=228): time 0.03745/0.7617, allocations: 11.9 MB / 0.7333 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/0.7618, allocations: 128.8 kB / 0.7334 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002507/0.7643, allocations: 1.479 MB / 0.7348 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006514/0.765, allocations: 29.7 kB / 0.7349 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008843/0.7659, allocations: 1.12 MB / 0.7359 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009997/0.7669, allocations: 0.7542 MB / 0.7367 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.7671, allocations: 3.938 kB / 0.7367 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.7673, allocations: 386.2 kB / 0.7371 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/0.7691, allocations: 1.117 MB / 0.7381 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.7713, allocations: 1.392 MB / 0.7395 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.7733, allocations: 1.223 MB / 0.7407 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.7733, allocations: 8.656 kB / 0.7407 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03649/0.8098, allocations: 12.01 MB / 0.7524 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008949/0.8107, allocations: 2.729 MB / 0.7551 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.8107, allocations: 8 kB / 0.7551 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01672/0.8275, allocations: 4.969 MB / 0.76 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.8294, allocations: 323.5 kB / 0.7603 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3207/1.15, allocations: 17.56 MB / 0.7774 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/1.154, allocations: 440.5 kB / 0.7778 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/1.154, allocations: 77.64 kB / 0.7779 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.154, allocations: 4.906 kB / 0.7779 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03455/1.189, allocations: 11.7 MB / 0.7893 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/1.189, allocations: 10.56 kB / 0.7893 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01649/1.205, allocations: 4.969 MB / 0.7942 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/1.207, allocations: 305.4 kB / 0.7945 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04099/1.248, allocations: 17.55 MB / 0.8116 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/1.252, allocations: 419.7 kB / 0.812 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000393/1.252, allocations: 75.25 kB / 0.8121 GB, free: 110.6 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 (186): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006966/1.253, allocations: 144.3 kB / 0.8122 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03485/1.287, allocations: 11.91 MB / 0.8239 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/1.289, allocations: 269.8 kB / 0.8241 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03409/1.323, allocations: 12.18 MB / 0.836 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/1.323, allocations: 23.31 kB / 0.836 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/1.323, allocations: 18.94 kB / 0.8361 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-05/1.323, allocations: 13.55 kB / 0.8361 GB, free: 105.8 MB / 0.5573 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.03807/1.361, allocations: 15.47 MB / 0.8512 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.361, allocations: 3.969 kB / 0.8512 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/1.363, allocations: 247.8 kB / 0.8514 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01328/1.376, allocations: 4.793 MB / 0.8561 GB, free: 99.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005506/1.377, allocations: 8.75 kB / 0.8561 GB, free: 99.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02978/1.407, allocations: 15.17 MB / 0.8709 GB, free: 85.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.407, allocations: 0 / 0.8709 GB, free: 85.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03645/1.443, allocations: 14.07 MB / 0.8847 GB, free: 74.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009844/1.444, allocations: 372.9 kB / 0.885 GB, free: 73.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000557/1.445, allocations: 4 kB / 0.885 GB, free: 73.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00279/1.447, allocations: 331.8 kB / 0.8853 GB, free: 73.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00181/1.449, allocations: 0.5376 MB / 0.8859 GB, free: 73.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.449, allocations: 60.73 kB / 0.8859 GB, free: 73.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001449/1.451, allocations: 1.111 MB / 0.887 GB, free: 72.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.451, allocations: 0 / 0.887 GB, free: 72.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004847/1.456, allocations: 1.539 MB / 0.8885 GB, free: 70.84 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03664/1.492, allocations: 14.93 MB / 0.9031 GB, free: 58.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02415/1.517, allocations: 9.092 MB / 0.912 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.517, allocations: 0.6875 kB / 0.912 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01049/1.527, allocations: 3.798 MB / 0.9157 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/1.529, allocations: 152.9 kB / 0.9158 GB, free: 46.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009862/1.539, allocations: 4.213 MB / 0.9199 GB, free: 43.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.54, allocations: 1.788 MB / 0.9217 GB, free: 41.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001853/1.542, allocations: 350.5 kB / 0.922 GB, free: 41.53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.543, allocations: 1.056 MB / 0.923 GB, free: 40.56 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/1.543, allocations: 0 / 0.923 GB, free: 40.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4024/1.946, allocations: 89.84 MB / 1.011 GB, free: 124.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001247/1.946, allocations: 143.4 kB / 1.011 GB, free: 124.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.998/6.943, allocations: 3.719 kB / 1.011 GB, free: 124.3 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)