Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_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.001426/0.001426, allocations: 176.2 kB / 7.649 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.355/1.355, allocations: 221.5 MB / 229.6 MB, free: 7.512 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.001033/0.001033, allocations: 93.12 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4403/0.4403, allocations: 78.95 MB / 410.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.089e-05/2.091e-05, allocations: 8 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 69.52 MB / 0.5425 GB, free: 5.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4686, allocations: 100.1 MB / 0.6403 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4689, allocations: 76.8 kB / 0.6404 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1712/0.6401, allocations: 67.44 MB / 0.7063 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6402, allocations: 4 kB / 0.7063 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002351/0.6404, allocations: 59.94 kB / 0.7063 GB, free: 10.1 MB / 0.5105 GB 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.01251/0.6529, allocations: 4.03 MB / 0.7103 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.653, allocations: 8.031 kB / 0.7103 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009868/0.6629, allocations: 1.6 MB / 0.7118 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003621/0.6665, allocations: 1.643 MB / 0.7134 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006601/0.6672, allocations: 0.6241 MB / 0.7141 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006462/0.6678, allocations: 123.9 kB / 0.7142 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004418/0.6723, allocations: 2.226 MB / 0.7163 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004554/0.6768, allocations: 2.283 MB / 0.7186 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.368e-05/0.6769, allocations: 4 kB / 0.7186 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.6772, allocations: 5.5 kB / 0.7186 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.6772, allocations: 51.94 kB / 0.7186 GB, free: 13.16 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 preOpt removeSimpleEquations (simulation): time 0.01796/0.6952, allocations: 9.748 MB / 0.7282 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009317/0.7045, allocations: 3.958 MB / 0.732 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002697/0.7073, allocations: 1.476 MB / 0.7335 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.7077, allocations: 42.03 kB / 0.7335 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.985e-05/0.7078, allocations: 64.52 kB / 0.7336 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=243): time 5e-06/0.7078, allocations: 0 / 0.7336 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=243): time 0.03758/0.7454, allocations: 12.08 MB / 0.7454 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.7455, allocations: 239.5 kB / 0.7456 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00326/0.7488, allocations: 1.713 MB / 0.7473 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000529/0.7494, allocations: 33.69 kB / 0.7473 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009904/0.7504, allocations: 1.211 MB / 0.7485 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.7516, allocations: 0.808 MB / 0.7493 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.7519, allocations: 0 / 0.7493 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.7521, allocations: 394.6 kB / 0.7496 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.7543, allocations: 1.181 MB / 0.7508 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.7568, allocations: 1.492 MB / 0.7522 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.7591, allocations: 1.311 MB / 0.7535 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.7592, allocations: 0 / 0.7535 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.3021/1.061, allocations: 11.33 MB / 0.7646 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004924/1.062, allocations: 2.873 MB / 0.7674 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.062, allocations: 6.125 kB / 0.7674 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01378/1.076, allocations: 4.625 MB / 0.7719 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/1.079, allocations: 0.6895 MB / 0.7726 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0326/1.112, allocations: 16.32 MB / 0.7885 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/1.116, allocations: 486.3 kB / 0.789 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/1.116, allocations: 85.69 kB / 0.7891 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.116, allocations: 3.719 kB / 0.7891 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03319/1.149, allocations: 11.01 MB / 0.7998 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-05/1.149, allocations: 7.312 kB / 0.7998 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0149/1.164, allocations: 4.624 MB / 0.8044 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/1.168, allocations: 0.6736 MB / 0.805 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03495/1.203, allocations: 16.33 MB / 0.821 GB, free: 102 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003814/1.207, allocations: 471.1 kB / 0.8214 GB, free: 102 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003808/1.207, allocations: 89.97 kB / 0.8215 GB, free: 101.9 MB / 0.5573 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.0007039/1.208, allocations: 207.2 kB / 0.8217 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03309/1.241, allocations: 12.08 MB / 0.8335 GB, free: 99.47 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.242, allocations: 299.5 kB / 0.8338 GB, free: 99.31 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03274/1.275, allocations: 12.37 MB / 0.8459 GB, free: 96.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/1.275, allocations: 23.5 kB / 0.8459 GB, free: 96.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/1.275, allocations: 23.41 kB / 0.8459 GB, free: 96.88 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.848e-05/1.275, allocations: 10.92 kB / 0.8459 GB, free: 96.88 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.03806/1.313, allocations: 15.9 MB / 0.8614 GB, free: 91.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/1.313, allocations: 0 / 0.8614 GB, free: 91.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/1.315, allocations: 284.9 kB / 0.8617 GB, free: 91.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01347/1.329, allocations: 4.746 MB / 0.8663 GB, free: 88.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006636/1.329, allocations: 15.66 kB / 0.8664 GB, free: 88.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03082/1.36, allocations: 15.22 MB / 0.8812 GB, free: 74.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.36, allocations: 0 / 0.8812 GB, free: 74.51 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03659/1.397, allocations: 14.33 MB / 0.8952 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/1.398, allocations: 409.2 kB / 0.8956 GB, free: 62.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006068/1.399, allocations: 8 kB / 0.8956 GB, free: 62.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/1.402, allocations: 359.8 kB / 0.896 GB, free: 62.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001704/1.403, allocations: 0.5467 MB / 0.8965 GB, free: 61.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002342/1.404, allocations: 64.84 kB / 0.8966 GB, free: 61.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001769/1.405, allocations: 1.288 MB / 0.8978 GB, free: 60.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.51e-07/1.405, allocations: 0 / 0.8978 GB, free: 60.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005637/1.411, allocations: 1.579 MB / 0.8994 GB, free: 59.15 MB / 0.5573 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.03632/1.447, allocations: 15.07 MB / 0.9141 GB, free: 46.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02544/1.473, allocations: 9.71 MB / 0.9235 GB, free: 37.81 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.473, allocations: 0 / 0.9235 GB, free: 37.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01119/1.484, allocations: 3.961 MB / 0.9274 GB, free: 34.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/1.486, allocations: 190.7 kB / 0.9276 GB, free: 34.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009102/1.496, allocations: 4.555 MB / 0.932 GB, free: 30.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.497, allocations: 1.892 MB / 0.9339 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001882/1.499, allocations: 457.1 kB / 0.9343 GB, free: 28.33 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/1.5, allocations: 1.181 MB / 0.9355 GB, free: 27.25 MB / 0.5573 GB Notification: Performance of SimCode: time 1.383e-06/1.5, allocations: 0 / 0.9355 GB, free: 27.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3962/1.896, allocations: 91.66 MB / 1.025 GB, free: 125.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001095/1.896, allocations: 152.3 kB / 1.025 GB, free: 125.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.007/6.903, allocations: 0 / 1.025 GB, free: 125.7 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)