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.001054/0.001054, allocations: 174.6 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.206/1.206, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008539/0.0008542, allocations: 98.02 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.435/0.435, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.538e-05, allocations: 0 / 491.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3078, allocations: 69.35 MB / 0.5481 GB, free: 20.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.4226, allocations: 98.6 MB / 0.6443 GB, free: 1.801 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.4228, allocations: 79.95 kB / 0.6444 GB, free: 1.723 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.427/0.8498, allocations: 60.83 MB / 0.7038 GB, free: 100.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.8498, allocations: 0 / 0.7038 GB, free: 100.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001312/0.85, allocations: 48.69 kB / 0.7039 GB, free: 100.1 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01102/0.861, allocations: 3.74 MB / 0.7075 GB, free: 98.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.8611, allocations: 18.44 kB / 0.7075 GB, free: 98.55 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000764/0.8618, allocations: 287.5 kB / 0.7078 GB, free: 98.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009119/0.871, allocations: 1.571 MB / 0.7093 GB, free: 97.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.8735, allocations: 1.463 MB / 0.7108 GB, free: 96.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/0.874, allocations: 0.679 MB / 0.7114 GB, free: 95.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/0.8743, allocations: 196 kB / 0.7116 GB, free: 95.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/0.8779, allocations: 2.411 MB / 0.714 GB, free: 94.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.878, allocations: 4 kB / 0.714 GB, free: 94.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.8782, allocations: 76 kB / 0.7141 GB, free: 93.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.8782, allocations: 48 kB / 0.7141 GB, free: 93.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.8814, allocations: 2.179 MB / 0.7162 GB, free: 91.75 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.01411/0.8955, allocations: 9.601 MB / 0.7256 GB, free: 81.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008453/0.904, allocations: 4.041 MB / 0.7296 GB, free: 77.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.9058, allocations: 1.44 MB / 0.731 GB, free: 76.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/0.9061, allocations: 38.2 kB / 0.731 GB, free: 76.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.9061, allocations: 56.56 kB / 0.7311 GB, free: 76.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 4.568e-06/0.9061, allocations: 0 / 0.7311 GB, free: 76.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.0336/0.9398, allocations: 12.06 MB / 0.7428 GB, free: 64.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.9399, allocations: 128.8 kB / 0.743 GB, free: 63.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.9421, allocations: 1.62 MB / 0.7445 GB, free: 62.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000692/0.9428, allocations: 65.7 kB / 0.7446 GB, free: 62.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006532/0.9434, allocations: 1.128 MB / 0.7457 GB, free: 61.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.9445, allocations: 0.7864 MB / 0.7465 GB, free: 60.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.9446, allocations: 40 kB / 0.7465 GB, free: 60.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.9448, allocations: 394.2 kB / 0.7469 GB, free: 59.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.9467, allocations: 1.153 MB / 0.748 GB, free: 58.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.9485, allocations: 1.455 MB / 0.7494 GB, free: 57.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.9504, allocations: 1.265 MB / 0.7507 GB, free: 55.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.9504, allocations: 4 kB / 0.7507 GB, free: 55.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03388/0.9843, allocations: 12.22 MB / 0.7626 GB, free: 43.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004437/0.9848, allocations: 2.732 MB / 0.7653 GB, free: 40.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.9848, allocations: 8 kB / 0.7653 GB, free: 40.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01559/1, allocations: 5.231 MB / 0.7704 GB, free: 35.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/1.002, allocations: 319.5 kB / 0.7707 GB, free: 35.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03703/1.039, allocations: 17.89 MB / 0.7882 GB, free: 17.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/1.043, allocations: 485.8 kB / 0.7886 GB, free: 16.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/1.043, allocations: 87.91 kB / 0.7887 GB, free: 16.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.043, allocations: 4 kB / 0.7887 GB, free: 16.52 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03392/1.077, allocations: 11.95 MB / 0.8004 GB, free: 4.562 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.295e-05/1.077, allocations: 11.98 kB / 0.8004 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01589/1.093, allocations: 5.221 MB / 0.8055 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/1.095, allocations: 311.5 kB / 0.8058 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04113/1.136, allocations: 17.89 MB / 0.8233 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/1.14, allocations: 462 kB / 0.8237 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003961/1.14, allocations: 83.97 kB / 0.8238 GB, free: 12.48 MB / 0.5105 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.0006593/1.141, allocations: 226.1 kB / 0.824 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007105/1.142, allocations: 276.6 kB / 0.8243 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0368/1.179, allocations: 12.39 MB / 0.8364 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/1.179, allocations: 24 kB / 0.8364 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/1.179, allocations: 16 kB / 0.8364 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.835e-05/1.179, allocations: 7.969 kB / 0.8364 GB, free: 15.51 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.04664/1.225, allocations: 15.88 MB / 0.8519 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/1.225, allocations: 0 / 0.8519 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.227, allocations: 251.6 kB / 0.8521 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01473/1.242, allocations: 4.83 MB / 0.8569 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005001/1.242, allocations: 44 kB / 0.8569 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03422/1.276, allocations: 15.36 MB / 0.8719 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.277, allocations: 4 kB / 0.8719 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03925/1.316, allocations: 14.28 MB / 0.8859 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009555/1.317, allocations: 377.3 kB / 0.8862 GB, free: 12.15 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004893/1.317, allocations: 43.95 kB / 0.8863 GB, free: 12.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/1.32, allocations: 363.7 kB / 0.8866 GB, free: 11.75 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001826/1.322, allocations: 0.5446 MB / 0.8871 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.322, allocations: 59.98 kB / 0.8872 GB, free: 11.14 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001672/1.324, allocations: 1.238 MB / 0.8884 GB, free: 9.887 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.324, allocations: 0 / 0.8884 GB, free: 9.887 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003929/1.328, allocations: 1.697 MB / 0.8901 GB, free: 8.188 MB / 0.573 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.3275/1.655, allocations: 15.15 MB / 0.9049 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02364/1.679, allocations: 9.38 MB / 0.914 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.679, allocations: 3.844 kB / 0.914 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01027/1.689, allocations: 3.89 MB / 0.9178 GB, free: 175.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.691, allocations: 186.3 kB / 0.918 GB, free: 175.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007664/1.698, allocations: 4.382 MB / 0.9223 GB, free: 174.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.699, allocations: 1.79 MB / 0.924 GB, free: 173.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001418/1.701, allocations: 358.4 kB / 0.9244 GB, free: 173.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009744/1.702, allocations: 1.051 MB / 0.9254 GB, free: 173.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.082e-06/1.702, allocations: 0 / 0.9254 GB, free: 173.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/1.812, allocations: 95.98 MB / 1.019 GB, free: 93.35 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/1.812, allocations: 184.7 kB / 1.019 GB, free: 93.12 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.86/6.672, allocations: 4 kB / 1.019 GB, free: 93.12 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)