Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.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.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",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.005939/0.00594, allocations: 169 kB / 15.11 MB, free: 5.582 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.436/1.436, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0008407/0.0008404, allocations: 90.8 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0647/0.0647, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4449/0.4449, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005316, allocations: 26.69 kB / 0.528 GB, free: 35.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1448, allocations: 69.24 MB / 0.5956 GB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4442/0.589, allocations: 105.3 MB / 0.6985 GB, free: 37.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.5892, allocations: 78.17 kB / 0.6986 GB, free: 37.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1686/0.7579, allocations: 71.8 MB / 0.7687 GB, free: 17.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.7579, allocations: 4 kB / 0.7687 GB, free: 17.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001733/0.7581, allocations: 58.56 kB / 0.7687 GB, free: 17.26 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.01003/0.7681, allocations: 4.227 MB / 0.7729 GB, free: 14.76 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7682, allocations: 13.61 kB / 0.7729 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005558/0.7687, allocations: 275.9 kB / 0.7731 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00651/0.7753, allocations: 1.2 MB / 0.7743 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00426/0.7795, allocations: 1.904 MB / 0.7762 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.7799, allocations: 0.4893 MB / 0.7766 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.7803, allocations: 206.9 kB / 0.7768 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004157/0.7844, allocations: 2.53 MB / 0.7793 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.7845, allocations: 0 / 0.7793 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.7847, allocations: 78.28 kB / 0.7794 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.7847, allocations: 48.31 kB / 0.7794 GB, free: 12.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004145/0.7889, allocations: 2.374 MB / 0.7818 GB, free: 11.97 MB / 474.7 MB 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.0153/0.8042, allocations: 9.244 MB / 0.7908 GB, free: 5.504 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009284/0.8135, allocations: 5.135 MB / 0.7958 GB, free: 148 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.8139, allocations: 38.22 kB / 0.7958 GB, free: 112 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003838/0.8177, allocations: 1.915 MB / 0.7977 GB, free: 14.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 4.779e-06/0.8178, allocations: 0 / 0.7977 GB, free: 14.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=245): time 0.08558/0.9034, allocations: 22.22 MB / 0.8194 GB, free: 7.82 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.9035, allocations: 243.5 kB / 0.8196 GB, free: 7.535 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005177/0.9087, allocations: 2.259 MB / 0.8218 GB, free: 5.27 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/0.9098, allocations: 73.69 kB / 0.8219 GB, free: 5.191 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.9111, allocations: 1.214 MB / 0.8231 GB, free: 3.965 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001517/0.9126, allocations: 0.847 MB / 0.8239 GB, free: 3.105 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.9128, allocations: 48 kB / 0.824 GB, free: 3.059 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.913, allocations: 407 kB / 0.8244 GB, free: 2.656 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/0.916, allocations: 1.399 MB / 0.8257 GB, free: 1.254 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/0.9189, allocations: 1.67 MB / 0.8273 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.9219, allocations: 1.67 MB / 0.829 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.9219, allocations: 0 / 0.829 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02258/0.9445, allocations: 8.173 MB / 0.837 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.9447, allocations: 170.2 kB / 0.8371 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.9447, allocations: 11.95 kB / 0.8371 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01173/0.9565, allocations: 3.463 MB / 0.8405 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.9592, allocations: 459.4 kB / 0.841 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04156/1.001, allocations: 20.13 MB / 0.8606 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/1.005, allocations: 433.8 kB / 0.861 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005919/1.006, allocations: 91.97 kB / 0.8611 GB, free: 12.29 MB / 0.5417 GB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 2 {36 46,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001829/1.008, allocations: 0.5928 MB / 0.8617 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000945/1.009, allocations: 316.1 kB / 0.862 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02432/1.033, allocations: 8.734 MB / 0.8705 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/1.033, allocations: 28 kB / 0.8706 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/1.033, allocations: 0 / 0.8706 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.648e-05/1.033, allocations: 11.95 kB / 0.8706 GB, free: 2.539 MB / 0.5417 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.03161/1.065, allocations: 13.2 MB / 0.8835 GB, free: 5.094 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.065, allocations: 7.938 kB / 0.8835 GB, free: 5.086 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.067, allocations: 235.7 kB / 0.8837 GB, free: 4.855 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01245/1.079, allocations: 3.914 MB / 0.8875 GB, free: 0.9258 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008357/1.08, allocations: 59.98 kB / 0.8876 GB, free: 0.8672 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04397/1.124, allocations: 21.84 MB / 0.9089 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.124, allocations: 3.984 kB / 0.9089 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3307/1.455, allocations: 10.74 MB / 0.9194 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/1.456, allocations: 466.5 kB / 0.9198 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.457, allocations: 51.45 kB / 0.9199 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003048/1.46, allocations: 300.3 kB / 0.9202 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001433/1.462, allocations: 393 kB / 0.9205 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/1.462, allocations: 71.42 kB / 0.9206 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003168/1.465, allocations: 1.743 MB / 0.9223 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/1.465, allocations: 0 / 0.9223 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004257/1.47, allocations: 1.008 MB / 0.9233 GB, free: 162.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 25 (sTATCOM3_1.simpleLagLim.state,gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {43 48,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03044/1.5, allocations: 11.57 MB / 0.9346 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.012/1.512, allocations: 5.402 MB / 0.9399 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.512, allocations: 0 / 0.9399 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.009015/1.521, allocations: 3.925 MB / 0.9437 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/1.524, allocations: 265.2 kB / 0.944 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.537, allocations: 11.44 MB / 0.9551 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.538, allocations: 1.896 MB / 0.957 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001141/1.539, allocations: 230.1 kB / 0.9572 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.541, allocations: 1.248 MB / 0.9584 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of SimCode: time 8.61e-07/1.541, allocations: 0 / 0.9584 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/1.646, allocations: 74.91 MB / 1.032 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/1.646, allocations: 209.1 kB / 1.032 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.772/6.418, allocations: 0 / 1.032 GB, free: 109.9 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)