Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.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.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.005815/0.005815, allocations: 170.8 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.65/1.65, allocations: 223.2 MB / 239 MB, free: 1.793 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.0008785/0.0008785, allocations: 97.7 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5489/0.5489, allocations: 78.52 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 8 kB / 499.8 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3747, allocations: 69.35 MB / 0.5558 GB, free: 38.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.5077, allocations: 103.7 MB / 0.6571 GB, free: 2.648 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.508, allocations: 75.95 kB / 0.6571 GB, free: 2.574 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1923/0.7003, allocations: 73.67 MB / 0.7291 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.594e-06/0.7003, allocations: 3.938 kB / 0.7291 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002067/0.7005, allocations: 56 kB / 0.7291 GB, free: 8.359 MB / 0.5261 GB 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.01297/0.7135, allocations: 4.226 MB / 0.7333 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.7136, allocations: 8.031 kB / 0.7333 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00121/0.7148, allocations: 286 kB / 0.7335 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007714/0.7225, allocations: 1.201 MB / 0.7347 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005758/0.7283, allocations: 1.892 MB / 0.7366 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005715/0.7289, allocations: 0.4983 MB / 0.7371 GB, free: 4 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007755/0.7297, allocations: 196 kB / 0.7372 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00529/0.735, allocations: 2.55 MB / 0.7397 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.7351, allocations: 0 / 0.7397 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/0.7353, allocations: 72 kB / 0.7398 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/0.7354, allocations: 44 kB / 0.7398 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004842/0.7402, allocations: 2.376 MB / 0.7422 GB, free: 10.75 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 preOpt removeSimpleEquations (simulation): time 0.01888/0.7591, allocations: 9.225 MB / 0.7512 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.7706, allocations: 5.153 MB / 0.7562 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/0.7711, allocations: 42.19 kB / 0.7562 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004294/0.7754, allocations: 1.915 MB / 0.7581 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=245): time 6.513e-06/0.7754, allocations: 0 / 0.7581 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of matching and sorting (n=245): time 0.3767/1.152, allocations: 22.21 MB / 0.7798 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/1.152, allocations: 247.2 kB / 0.78 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004442/1.157, allocations: 2.263 MB / 0.7823 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007395/1.158, allocations: 71.06 kB / 0.7823 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/1.159, allocations: 1.219 MB / 0.7835 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0012/1.16, allocations: 0.8422 MB / 0.7843 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/1.16, allocations: 49.25 kB / 0.7844 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.16, allocations: 401 kB / 0.7848 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/1.163, allocations: 1.398 MB / 0.7861 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003122/1.166, allocations: 1.67 MB / 0.7878 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/1.169, allocations: 1.669 MB / 0.7894 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.169, allocations: 0 / 0.7894 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02266/1.192, allocations: 8.179 MB / 0.7974 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.192, allocations: 173.1 kB / 0.7975 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/1.192, allocations: 5.5 kB / 0.7975 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/1.204, allocations: 3.456 MB / 0.8009 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/1.207, allocations: 463.5 kB / 0.8014 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04602/1.253, allocations: 20.14 MB / 0.821 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/1.258, allocations: 438.5 kB / 0.8214 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006097/1.258, allocations: 92.23 kB / 0.8215 GB, free: 108.9 MB / 0.5573 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.001883/1.26, allocations: 0.586 MB / 0.8221 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.261, allocations: 323.3 kB / 0.8224 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02306/1.284, allocations: 8.727 MB / 0.8309 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/1.285, allocations: 23.25 kB / 0.831 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.285, allocations: 7.578 kB / 0.831 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.341e-05/1.285, allocations: 11.2 kB / 0.831 GB, free: 106.1 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.03021/1.315, allocations: 13.2 MB / 0.8439 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/1.315, allocations: 3.828 kB / 0.8439 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/1.317, allocations: 241.3 kB / 0.8441 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01179/1.328, allocations: 3.917 MB / 0.8479 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007311/1.329, allocations: 56.89 kB / 0.848 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0411/1.37, allocations: 21.85 MB / 0.8693 GB, free: 87.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.37, allocations: 7.953 kB / 0.8693 GB, free: 87.63 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02694/1.397, allocations: 10.73 MB / 0.8798 GB, free: 78.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/1.399, allocations: 467.1 kB / 0.8802 GB, free: 78.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008375/1.399, allocations: 52 kB / 0.8803 GB, free: 78.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/1.402, allocations: 301.8 kB / 0.8806 GB, free: 77.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001278/1.403, allocations: 390.6 kB / 0.881 GB, free: 77.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.404, allocations: 71.31 kB / 0.881 GB, free: 77.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002749/1.406, allocations: 1.747 MB / 0.8827 GB, free: 76.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.4e-07/1.406, allocations: 7.719 kB / 0.8827 GB, free: 76.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003783/1.41, allocations: 1.006 MB / 0.8837 GB, free: 75.23 MB / 0.5573 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.02656/1.437, allocations: 11.57 MB / 0.895 GB, free: 65.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01256/1.449, allocations: 5.393 MB / 0.9003 GB, free: 60.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/1.449, allocations: 3.938 kB / 0.9003 GB, free: 60.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008692/1.458, allocations: 3.939 MB / 0.9041 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/1.46, allocations: 262.2 kB / 0.9044 GB, free: 56.78 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.473, allocations: 11.44 MB / 0.9156 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/1.474, allocations: 1.898 MB / 0.9174 GB, free: 44.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001088/1.475, allocations: 232.1 kB / 0.9176 GB, free: 44.19 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.477, allocations: 1.245 MB / 0.9188 GB, free: 43.04 MB / 0.5573 GB Notification: Performance of SimCode: time 1.373e-06/1.477, allocations: 0 / 0.9188 GB, free: 43.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/1.591, allocations: 74.91 MB / 0.992 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/1.591, allocations: 192.1 kB / 0.9922 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.156/6.747, allocations: 0 / 0.9922 GB, free: 3.742 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom.fmu > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)