Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.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_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.001298/0.001298, allocations: 172.5 kB / 7.646 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.293/1.293, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.001074/0.001074, allocations: 90.06 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4608/0.4608, allocations: 78.94 MB / 410.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.453e-05, allocations: 4 kB / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1356, allocations: 69.53 MB / 0.5425 GB, free: 5.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.5167, allocations: 99.14 MB / 0.6394 GB, free: 14.77 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.517, allocations: 75.97 kB / 0.6394 GB, free: 14.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1662/0.6833, allocations: 62.08 MB / 0.7 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6833, allocations: 0 / 0.7 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002674/0.6836, allocations: 55.94 kB / 0.7001 GB, free: 456 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01374/0.6974, allocations: 3.792 MB / 0.7038 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.6974, allocations: 8.031 kB / 0.7038 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.7079, allocations: 1.573 MB / 0.7053 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004021/0.712, allocations: 1.491 MB / 0.7068 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000731/0.7128, allocations: 0.6084 MB / 0.7074 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009263/0.7137, allocations: 115.9 kB / 0.7075 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004892/0.7186, allocations: 2.097 MB / 0.7096 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005419/0.7241, allocations: 2.162 MB / 0.7117 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.664e-05/0.7241, allocations: 4 kB / 0.7117 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.7245, allocations: 3.984 kB / 0.7117 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.7246, allocations: 51.94 kB / 0.7117 GB, free: 4.297 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.01942/0.744, allocations: 9.385 MB / 0.7209 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009611/0.7536, allocations: 3.994 MB / 0.7248 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/0.756, allocations: 1.382 MB / 0.7261 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.7563, allocations: 45.91 kB / 0.7262 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.7564, allocations: 60.5 kB / 0.7262 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=230): time 5.48e-06/0.7564, allocations: 0 / 0.7262 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=230): time 0.03602/0.7924, allocations: 11.94 MB / 0.7379 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.999e-05/0.7926, allocations: 132.8 kB / 0.738 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.7954, allocations: 1.523 MB / 0.7395 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005844/0.7959, allocations: 25.7 kB / 0.7395 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008961/0.7969, allocations: 1.132 MB / 0.7407 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009491/0.7978, allocations: 0.7735 MB / 0.7414 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.798, allocations: 0 / 0.7414 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.7982, allocations: 386.2 kB / 0.7418 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.8001, allocations: 1.13 MB / 0.7429 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.8021, allocations: 1.42 MB / 0.7443 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.8041, allocations: 1.24 MB / 0.7455 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.8041, allocations: 0 / 0.7455 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03605/0.8401, allocations: 12.12 MB / 0.7573 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.8413, allocations: 2.735 MB / 0.76 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.8413, allocations: 12.7 kB / 0.76 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.315/1.156, allocations: 5.047 MB / 0.7649 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/1.158, allocations: 313.8 kB / 0.7652 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03868/1.197, allocations: 18.89 MB / 0.7837 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003912/1.201, allocations: 445.5 kB / 0.7841 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/1.201, allocations: 76.73 kB / 0.7842 GB, free: 110 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.201, allocations: 4.406 kB / 0.7842 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03754/1.239, allocations: 11.8 MB / 0.7957 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.334e-05/1.239, allocations: 9.234 kB / 0.7957 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01778/1.256, allocations: 5.053 MB / 0.8006 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/1.258, allocations: 306.4 kB / 0.8009 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03964/1.298, allocations: 18.89 MB / 0.8194 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/1.302, allocations: 425.8 kB / 0.8198 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/1.302, allocations: 74.67 kB / 0.8198 GB, free: 103.8 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (189): * Single equations (assignments): 187 * 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: 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.0007108/1.302, allocations: 156.6 kB / 0.82 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03263/1.335, allocations: 11.95 MB / 0.8317 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/1.336, allocations: 267.4 kB / 0.8319 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03287/1.369, allocations: 12.21 MB / 0.8438 GB, free: 98.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/1.369, allocations: 26.28 kB / 0.8439 GB, free: 98.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.353e-05/1.369, allocations: 19.22 kB / 0.8439 GB, free: 98.95 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.948e-05/1.37, allocations: 11.25 kB / 0.8439 GB, free: 98.95 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.03854/1.408, allocations: 15.55 MB / 0.8591 GB, free: 93.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/1.408, allocations: 0.6562 kB / 0.8591 GB, free: 93.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.41, allocations: 256.2 kB / 0.8593 GB, free: 93.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01353/1.423, allocations: 4.828 MB / 0.864 GB, free: 89.87 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007137/1.424, allocations: 16.94 kB / 0.8641 GB, free: 89.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03024/1.454, allocations: 15.16 MB / 0.8789 GB, free: 76.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.454, allocations: 0 / 0.8789 GB, free: 76.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03737/1.492, allocations: 14.14 MB / 0.8927 GB, free: 64.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.493, allocations: 383.4 kB / 0.893 GB, free: 64.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005939/1.494, allocations: 11.7 kB / 0.893 GB, free: 64.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.497, allocations: 322.9 kB / 0.8933 GB, free: 64.22 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001797/1.498, allocations: 0.5507 MB / 0.8939 GB, free: 63.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.499, allocations: 63.61 kB / 0.8939 GB, free: 63.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001654/1.5, allocations: 1.144 MB / 0.8951 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.5, allocations: 3.5 kB / 0.8951 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005629/1.506, allocations: 1.56 MB / 0.8966 GB, free: 61.31 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (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.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 (149): * Single equations (assignments): 148 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03592/1.542, allocations: 14.99 MB / 0.9112 GB, free: 48.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02384/1.566, allocations: 9.412 MB / 0.9204 GB, free: 40.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/1.566, allocations: 0.5625 kB / 0.9204 GB, free: 40.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01067/1.576, allocations: 3.838 MB / 0.9242 GB, free: 37.09 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.578, allocations: 158 kB / 0.9243 GB, free: 36.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008402/1.587, allocations: 4.414 MB / 0.9286 GB, free: 33.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.588, allocations: 1.805 MB / 0.9304 GB, free: 31.64 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00146/1.589, allocations: 352.8 kB / 0.9307 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.59, allocations: 1.082 MB / 0.9318 GB, free: 30.42 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/1.59, allocations: 0 / 0.9318 GB, free: 30.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.476/2.066, allocations: 91.27 MB / 1.021 GB, free: 127.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/2.066, allocations: 146 kB / 1.021 GB, free: 127.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.245/7.311, allocations: 1.641 kB / 1.021 GB, free: 127.5 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)