Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_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.0009759/0.0009761, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.26/1.26, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008011/0.0008011, allocations: 97.53 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4097/0.4097, allocations: 78.02 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.954e-05/2.963e-05, allocations: 4 kB / 491.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.296, allocations: 69.34 MB / 0.548 GB, free: 20.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.4049, allocations: 99.24 MB / 0.645 GB, free: 1.195 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4052, allocations: 79.95 kB / 0.645 GB, free: 1.117 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4366/0.8418, allocations: 62.06 MB / 0.7056 GB, free: 100.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.8419, allocations: 4 kB / 0.7056 GB, free: 100.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001119/0.842, allocations: 48.5 kB / 0.7057 GB, free: 100.2 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.009956/0.8519, allocations: 3.787 MB / 0.7094 GB, free: 97.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.852, allocations: 13.38 kB / 0.7094 GB, free: 97.95 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003877/0.8524, allocations: 289.4 kB / 0.7097 GB, free: 97.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00865/0.861, allocations: 1.574 MB / 0.7112 GB, free: 97.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.8635, allocations: 1.496 MB / 0.7127 GB, free: 95.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004684/0.8639, allocations: 0.6864 MB / 0.7133 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003581/0.8643, allocations: 191.9 kB / 0.7135 GB, free: 94.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/0.868, allocations: 2.438 MB / 0.7159 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.868, allocations: 0 / 0.7159 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.8682, allocations: 76 kB / 0.716 GB, free: 92.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.8683, allocations: 52 kB / 0.716 GB, free: 92.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003246/0.8715, allocations: 2.187 MB / 0.7182 GB, free: 89.9 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.01541/0.8869, allocations: 9.711 MB / 0.7276 GB, free: 79.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008412/0.8954, allocations: 4.072 MB / 0.7316 GB, free: 75.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.8974, allocations: 1.452 MB / 0.733 GB, free: 74.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.8977, allocations: 45.02 kB / 0.7331 GB, free: 74.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.8978, allocations: 56.56 kB / 0.7331 GB, free: 74.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 4.168e-06/0.8978, allocations: 0 / 0.7331 GB, free: 74.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03382/0.9316, allocations: 12.09 MB / 0.7449 GB, free: 62.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.9317, allocations: 136.8 kB / 0.7451 GB, free: 61.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.9338, allocations: 1.676 MB / 0.7467 GB, free: 60.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003642/0.9342, allocations: 69.7 kB / 0.7468 GB, free: 60.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/0.9348, allocations: 1.117 MB / 0.7479 GB, free: 58.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006117/0.9354, allocations: 0.7942 MB / 0.7486 GB, free: 58.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.9355, allocations: 48 kB / 0.7487 GB, free: 58.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.9356, allocations: 382.3 kB / 0.7491 GB, free: 57.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.9374, allocations: 1.168 MB / 0.7502 GB, free: 56.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.9392, allocations: 1.479 MB / 0.7516 GB, free: 54.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.9411, allocations: 1.283 MB / 0.7529 GB, free: 53.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.9411, allocations: 11.95 kB / 0.7529 GB, free: 53.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03319/0.9743, allocations: 12.31 MB / 0.7649 GB, free: 41.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004954/0.9748, allocations: 2.753 MB / 0.7676 GB, free: 38.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.9749, allocations: 4 kB / 0.7676 GB, free: 38.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01557/0.9904, allocations: 5.296 MB / 0.7728 GB, free: 33.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.9921, allocations: 315.5 kB / 0.7731 GB, free: 32.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03713/1.029, allocations: 19.27 MB / 0.7919 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/1.033, allocations: 493.7 kB / 0.7924 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/1.033, allocations: 83.92 kB / 0.7925 GB, free: 12.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.033, allocations: 4 kB / 0.7925 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03317/1.066, allocations: 12.05 MB / 0.8042 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/1.066, allocations: 8 kB / 0.8042 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01689/1.083, allocations: 5.301 MB / 0.8094 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.085, allocations: 303.6 kB / 0.8097 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0412/1.126, allocations: 19.25 MB / 0.8285 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003633/1.13, allocations: 477.8 kB / 0.829 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003274/1.13, allocations: 75.98 kB / 0.829 GB, free: 6.949 MB / 0.5105 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.0005999/1.131, allocations: 231.1 kB / 0.8293 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000655/1.132, allocations: 272.6 kB / 0.8295 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03714/1.169, allocations: 12.44 MB / 0.8417 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/1.169, allocations: 24 kB / 0.8417 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.641e-05/1.169, allocations: 19.94 kB / 0.8417 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.178e-05/1.169, allocations: 11.95 kB / 0.8417 GB, free: 9.93 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.04371/1.213, allocations: 15.97 MB / 0.8573 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/1.213, allocations: 0 / 0.8573 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.214, allocations: 259.6 kB / 0.8576 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/1.229, allocations: 4.867 MB / 0.8623 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005544/1.23, allocations: 47.94 kB / 0.8624 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03623/1.266, allocations: 15.35 MB / 0.8774 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.266, allocations: 0 / 0.8774 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0407/1.307, allocations: 14.35 MB / 0.8914 GB, free: 6.715 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.308, allocations: 381.2 kB / 0.8917 GB, free: 6.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006505/1.309, allocations: 44 kB / 0.8918 GB, free: 6.277 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/1.312, allocations: 363.7 kB / 0.8921 GB, free: 5.922 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001928/1.314, allocations: 0.5485 MB / 0.8927 GB, free: 5.371 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/1.314, allocations: 63.95 kB / 0.8927 GB, free: 5.309 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001875/1.316, allocations: 1.282 MB / 0.894 GB, free: 4.012 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.316, allocations: 3.938 kB / 0.894 GB, free: 4.008 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00465/1.32, allocations: 1.72 MB / 0.8957 GB, free: 2.285 MB / 0.573 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.3248/1.645, allocations: 15.22 MB / 0.9105 GB, free: 178.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0252/1.67, allocations: 9.7 MB / 0.92 GB, free: 177.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.67, allocations: 448 / 0.92 GB, free: 177.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01121/1.682, allocations: 3.94 MB / 0.9238 GB, free: 177.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.684, allocations: 191.5 kB / 0.924 GB, free: 177.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009801/1.693, allocations: 4.597 MB / 0.9285 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/1.695, allocations: 1.804 MB / 0.9303 GB, free: 175 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001598/1.696, allocations: 355.2 kB / 0.9306 GB, free: 174.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.697, allocations: 1.075 MB / 0.9317 GB, free: 174.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.483e-06/1.697, allocations: 0 / 0.9317 GB, free: 174.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/1.825, allocations: 97.58 MB / 1.027 GB, free: 84.91 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/1.825, allocations: 183.6 kB / 1.027 GB, free: 84.69 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.266/7.091, allocations: 0 / 1.027 GB, free: 84.69 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)