Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.006571/0.006571, allocations: 171.9 kB / 15.11 MB, free: 5.973 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.364/1.364, allocations: 223.2 MB / 239 MB, free: 1.809 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.001093/0.001093, allocations: 107 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4855/0.4855, allocations: 78.52 MB / 419.8 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004104, allocations: 12 kB / 499.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3941, allocations: 69.35 MB / 0.5558 GB, free: 38.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.5217, allocations: 97.94 MB / 0.6514 GB, free: 8.43 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.522, allocations: 83.95 kB / 0.6515 GB, free: 8.348 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1575/0.6795, allocations: 60.91 MB / 0.711 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6796, allocations: 0 / 0.711 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001385/0.6797, allocations: 51.88 kB / 0.7111 GB, free: 11.03 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01353/0.6933, allocations: 4.224 MB / 0.7152 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.6933, allocations: 15.97 kB / 0.7152 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001003/0.6943, allocations: 278.3 kB / 0.7155 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.7045, allocations: 1.58 MB / 0.717 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004678/0.7092, allocations: 1.467 MB / 0.7184 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008502/0.7101, allocations: 0.6825 MB / 0.7191 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/0.7112, allocations: 192 kB / 0.7193 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009285/0.7205, allocations: 3.062 MB / 0.7223 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.06e-05/0.7207, allocations: 3.953 kB / 0.7223 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007361/0.7214, allocations: 79.94 kB / 0.7224 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/0.7215, allocations: 44 kB / 0.7224 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007708/0.7292, allocations: 2.869 MB / 0.7252 GB, free: 12.28 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0238/0.7531, allocations: 9.6 MB / 0.7346 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.7655, allocations: 4.771 MB / 0.7392 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005233/0.7661, allocations: 37.97 kB / 0.7393 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.349e-05/0.7662, allocations: 56.56 kB / 0.7393 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=227): time 5.771e-06/0.7662, allocations: 0 / 0.7393 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=227): time 0.43/1.196, allocations: 32.21 MB / 0.7708 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/1.196, allocations: 131.6 kB / 0.7709 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/1.2, allocations: 1.652 MB / 0.7725 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006693/1.2, allocations: 65.42 kB / 0.7726 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007827/1.201, allocations: 1.118 MB / 0.7737 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009004/1.202, allocations: 0.7778 MB / 0.7744 GB, free: 120 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.202, allocations: 41.34 kB / 0.7745 GB, free: 120 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.202, allocations: 390 kB / 0.7748 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003678/1.206, allocations: 1.795 MB / 0.7766 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003708/1.21, allocations: 2.105 MB / 0.7787 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/1.213, allocations: 1.904 MB / 0.7805 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/1.213, allocations: 0 / 0.7805 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0408/1.254, allocations: 14.11 MB / 0.7943 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005564/1.255, allocations: 2.736 MB / 0.797 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.255, allocations: 5.5 kB / 0.797 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02065/1.275, allocations: 6.378 MB / 0.8032 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/1.277, allocations: 323.7 kB / 0.8035 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06377/1.341, allocations: 26.49 MB / 0.8294 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004231/1.345, allocations: 491.7 kB / 0.8298 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004837/1.346, allocations: 76.09 kB / 0.8299 GB, free: 110 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.346, allocations: 3.938 kB / 0.8299 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03941/1.385, allocations: 13.79 MB / 0.8434 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-05/1.385, allocations: 3.938 kB / 0.8434 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01917/1.405, allocations: 6.374 MB / 0.8496 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/1.407, allocations: 306 kB / 0.8499 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06032/1.467, allocations: 26.49 MB / 0.8758 GB, free: 85.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/1.471, allocations: 470.2 kB / 0.8762 GB, free: 85.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006129/1.472, allocations: 71.8 kB / 0.8763 GB, free: 85.12 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked 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.001741/1.474, allocations: 494.3 kB / 0.8768 GB, free: 84.65 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009779/1.475, allocations: 272.6 kB / 0.877 GB, free: 84.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04021/1.515, allocations: 14.28 MB / 0.891 GB, free: 73.39 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-05/1.515, allocations: 26.56 kB / 0.891 GB, free: 73.37 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.133e-05/1.515, allocations: 16 kB / 0.891 GB, free: 73.36 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-05/1.515, allocations: 10.73 kB / 0.891 GB, free: 73.36 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04341/1.559, allocations: 17.77 MB / 0.9084 GB, free: 59.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/1.559, allocations: 0 / 0.9084 GB, free: 59.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/1.56, allocations: 255.8 kB / 0.9086 GB, free: 59.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.017/1.577, allocations: 6.074 MB / 0.9145 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006729/1.578, allocations: 47.92 kB / 0.9146 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04787/1.626, allocations: 22.66 MB / 0.9367 GB, free: 30.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.626, allocations: 8 kB / 0.9367 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04408/1.67, allocations: 16.79 MB / 0.9531 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.671, allocations: 385.1 kB / 0.9535 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006719/1.672, allocations: 38.56 kB / 0.9535 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/1.674, allocations: 363.7 kB / 0.9539 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001951/1.676, allocations: 0.5448 MB / 0.9544 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.677, allocations: 59.98 kB / 0.9545 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001669/1.678, allocations: 1.271 MB / 0.9557 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/1.678, allocations: 0 / 0.9557 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005107/1.683, allocations: 1.692 MB / 0.9574 GB, free: 9.27 MB / 0.5573 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 () * Number of clocked 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.0447/1.728, allocations: 17.69 MB / 0.9746 GB, free: 7.535 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2864/2.015, allocations: 11.27 MB / 0.9856 GB, free: 133.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/2.015, allocations: 0 / 0.9856 GB, free: 133.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01368/2.028, allocations: 4.6 MB / 0.9901 GB, free: 132.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/2.03, allocations: 192 kB / 0.9903 GB, free: 132.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/2.043, allocations: 11.39 MB / 1.001 GB, free: 125.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/2.045, allocations: 1.783 MB / 1.003 GB, free: 124.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001172/2.046, allocations: 212.2 kB / 1.003 GB, free: 124.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/2.048, allocations: 1.086 MB / 1.004 GB, free: 124.4 MB / 0.573 GB Notification: Performance of SimCode: time 9.02e-07/2.048, allocations: 0 / 1.004 GB, free: 124.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/2.183, allocations: 91.33 MB / 1.094 GB, free: 94.79 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/2.183, allocations: 213 kB / 1.094 GB, free: 94.55 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.292/7.475, allocations: 0 / 1.094 GB, free: 94.55 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)