Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009927/0.0009927, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009209/0.000921, allocations: 85.78 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07027/0.07027, allocations: 12.19 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2873/0.2873, allocations: 78.02 MB / 455.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.134e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 69.24 MB / 0.5889 GB, free: 2.941 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.5386, allocations: 99.37 MB / 0.686 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.5389, allocations: 80.95 kB / 0.6861 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1522/0.6911, allocations: 58.96 MB / 0.7436 GB, free: 15.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.927e-06/0.6912, allocations: 0 / 0.7436 GB, free: 15.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002341/0.6914, allocations: 47.94 kB / 0.7437 GB, free: 15.14 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01402/0.7055, allocations: 3.746 MB / 0.7473 GB, free: 11.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.7055, allocations: 11.98 kB / 0.7473 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009984/0.7065, allocations: 280.7 kB / 0.7476 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.7168, allocations: 1.579 MB / 0.7492 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/0.721, allocations: 1.453 MB / 0.7506 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007809/0.7218, allocations: 0.6817 MB / 0.7512 GB, free: 8.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000865/0.7227, allocations: 192.4 kB / 0.7514 GB, free: 8.035 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004731/0.7274, allocations: 2.409 MB / 0.7538 GB, free: 5.945 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/0.7275, allocations: 3.938 kB / 0.7538 GB, free: 5.941 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.7277, allocations: 80 kB / 0.7539 GB, free: 5.863 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.7278, allocations: 44 kB / 0.7539 GB, free: 5.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004129/0.7319, allocations: 2.167 MB / 0.756 GB, free: 3.652 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.01871/0.7506, allocations: 9.603 MB / 0.7654 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009678/0.7604, allocations: 4.025 MB / 0.7693 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00262/0.763, allocations: 1.432 MB / 0.7707 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/0.7634, allocations: 41.95 kB / 0.7708 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.7634, allocations: 56.56 kB / 0.7708 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 5.34e-06/0.7634, allocations: 0 / 0.7708 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of matching and sorting (n=227): time 0.03651/0.7999, allocations: 12.07 MB / 0.7826 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.8001, allocations: 132.8 kB / 0.7827 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002843/0.803, allocations: 1.632 MB / 0.7843 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006908/0.8037, allocations: 65.7 kB / 0.7844 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008117/0.8045, allocations: 1.117 MB / 0.7855 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.8055, allocations: 0.7893 MB / 0.7862 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.8057, allocations: 44 kB / 0.7863 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.8059, allocations: 386.2 kB / 0.7867 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.8079, allocations: 1.149 MB / 0.7878 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.8101, allocations: 1.455 MB / 0.7892 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.8122, allocations: 1.255 MB / 0.7904 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.8122, allocations: 4 kB / 0.7904 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0366/0.8488, allocations: 12.22 MB / 0.8024 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009163/0.8498, allocations: 2.741 MB / 0.805 GB, free: 460 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.8498, allocations: 4 kB / 0.805 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01672/0.8666, allocations: 5.16 MB / 0.8101 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.8683, allocations: 319.5 kB / 0.8104 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04057/0.9089, allocations: 17.93 MB / 0.8279 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/0.9128, allocations: 485.8 kB / 0.8284 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003617/0.9132, allocations: 83.97 kB / 0.8284 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.9132, allocations: 4 kB / 0.8284 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03623/0.9494, allocations: 11.95 MB / 0.8401 GB, free: 12.35 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.123e-05/0.9495, allocations: 8 kB / 0.8401 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01616/0.9657, allocations: 5.152 MB / 0.8451 GB, free: 7.184 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.9673, allocations: 315.5 kB / 0.8454 GB, free: 6.875 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03974/1.007, allocations: 17.93 MB / 0.863 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/1.011, allocations: 462 kB / 0.8634 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003612/1.011, allocations: 75.98 kB / 0.8635 GB, free: 4.258 MB / 0.5886 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_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 (184): * Single equations (assignments): 183 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0006047/1.012, allocations: 229.7 kB / 0.8637 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/1.013, allocations: 272.6 kB / 0.8639 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3345/1.347, allocations: 12.38 MB / 0.876 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.685e-05/1.347, allocations: 24.09 kB / 0.8761 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.073e-05/1.347, allocations: 23.28 kB / 0.8761 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.955e-05/1.347, allocations: 11.11 kB / 0.8761 GB, free: 164.1 MB / 0.5886 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.04477/1.392, allocations: 15.88 MB / 0.8916 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/1.392, allocations: 0 / 0.8916 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/1.394, allocations: 249.6 kB / 0.8918 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01405/1.408, allocations: 4.867 MB / 0.8966 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006208/1.408, allocations: 42.78 kB / 0.8966 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0315/1.44, allocations: 15.37 MB / 0.9116 GB, free: 161.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.44, allocations: 3.312 kB / 0.9116 GB, free: 161.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03708/1.477, allocations: 14.26 MB / 0.9256 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009072/1.478, allocations: 383.8 kB / 0.9259 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005231/1.479, allocations: 43.72 kB / 0.926 GB, free: 158 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/1.481, allocations: 361.3 kB / 0.9263 GB, free: 158 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001931/1.483, allocations: 0.5438 MB / 0.9269 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/1.483, allocations: 57.56 kB / 0.9269 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00162/1.485, allocations: 1.258 MB / 0.9281 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.4e-07/1.485, allocations: 0 / 0.9281 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00412/1.489, allocations: 1.692 MB / 0.9298 GB, free: 157.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (146): * Single equations (assignments): 145 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0364/1.526, allocations: 15.15 MB / 0.9446 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02591/1.552, allocations: 9.348 MB / 0.9537 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.552, allocations: 0 / 0.9537 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01236/1.564, allocations: 3.899 MB / 0.9575 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/1.566, allocations: 189.5 kB / 0.9577 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/1.578, allocations: 4.324 MB / 0.9619 GB, free: 129.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/1.58, allocations: 1.791 MB / 0.9637 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002504/1.582, allocations: 358 kB / 0.964 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.584, allocations: 1.068 MB / 0.9651 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.393e-06/1.584, allocations: 3.719 kB / 0.9651 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/1.714, allocations: 96.12 MB / 1.059 GB, free: 35.87 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/1.715, allocations: 186 kB / 1.059 GB, free: 35.65 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.134/6.849, allocations: 0 / 1.059 GB, free: 35.65 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)