Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_dev_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.006678/0.006678, allocations: 171.3 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.402/1.402, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 101.5 kB / 290.2 MB, free: 4.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4845/0.4845, allocations: 79.44 MB / 420.7 MB, free: 36.29 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 8 kB / 0.4891 GB, free: 6.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1602, allocations: 69.52 MB / 0.557 GB, free: 0.668 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.6118, allocations: 104.5 MB / 0.659 GB, free: 12.66 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.612, allocations: 76.48 kB / 0.6591 GB, free: 12.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2316/0.8436, allocations: 75.39 MB / 0.7327 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8436, allocations: 0 / 0.7327 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004312/0.8441, allocations: 56 kB / 0.7328 GB, free: 0.9062 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: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.01501/0.8591, allocations: 4.235 MB / 0.7369 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.8592, allocations: 12.03 kB / 0.7369 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001242/0.8604, allocations: 270 kB / 0.7372 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008126/0.8686, allocations: 1.205 MB / 0.7384 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006063/0.8747, allocations: 1.899 MB / 0.7402 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005986/0.8753, allocations: 0.4906 MB / 0.7407 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006981/0.876, allocations: 195.9 kB / 0.7409 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00584/0.8819, allocations: 2.546 MB / 0.7434 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.882, allocations: 0 / 0.7434 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.8822, allocations: 76 kB / 0.7434 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/0.8823, allocations: 44 kB / 0.7435 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005205/0.8875, allocations: 2.369 MB / 0.7458 GB, free: 3.301 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.02064/0.9081, allocations: 9.311 MB / 0.7549 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.9196, allocations: 5.134 MB / 0.7599 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005007/0.9202, allocations: 40.69 kB / 0.7599 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00441/0.9246, allocations: 1.918 MB / 0.7618 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=245): time 4.438e-06/0.9246, allocations: 0 / 0.7618 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245): time 0.07979/1.004, allocations: 20.25 MB / 0.7816 GB, free: 13.88 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/1.005, allocations: 239.5 kB / 0.7818 GB, free: 13.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/1.009, allocations: 2.263 MB / 0.784 GB, free: 11.33 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007615/1.01, allocations: 77.69 kB / 0.7841 GB, free: 11.25 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/1.011, allocations: 1.21 MB / 0.7853 GB, free: 10.03 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001855/1.013, allocations: 0.8393 MB / 0.7861 GB, free: 9.176 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/1.013, allocations: 52 kB / 0.7862 GB, free: 9.125 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002479/1.013, allocations: 399.1 kB / 0.7865 GB, free: 8.73 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003227/1.017, allocations: 1.403 MB / 0.7879 GB, free: 7.324 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/1.02, allocations: 1.666 MB / 0.7895 GB, free: 5.582 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/1.023, allocations: 1.67 MB / 0.7912 GB, free: 3.852 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.023, allocations: 0 / 0.7912 GB, free: 3.852 MB / 0.573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.3582/1.382, allocations: 8.163 MB / 0.7991 GB, free: 122.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/1.382, allocations: 174.8 kB / 0.7993 GB, free: 121.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/1.382, allocations: 5.875 kB / 0.7993 GB, free: 121.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01287/1.395, allocations: 3.463 MB / 0.8027 GB, free: 121.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/1.398, allocations: 464.8 kB / 0.8031 GB, free: 121.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04378/1.441, allocations: 20.12 MB / 0.8228 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/1.446, allocations: 441 kB / 0.8232 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006463/1.447, allocations: 93.05 kB / 0.8233 GB, free: 117.7 MB / 0.573 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.001895/1.449, allocations: 0.5848 MB / 0.8239 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.45, allocations: 324.3 kB / 0.8242 GB, free: 117.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0263/1.476, allocations: 8.723 MB / 0.8327 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.884e-05/1.476, allocations: 26.72 kB / 0.8327 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.476, allocations: 1.375 kB / 0.8327 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.384e-05/1.476, allocations: 13.78 kB / 0.8327 GB, free: 116.8 MB / 0.573 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.03597/1.512, allocations: 13.19 MB / 0.8456 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.135e-05/1.512, allocations: 2.375 kB / 0.8456 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/1.514, allocations: 234.8 kB / 0.8458 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01474/1.529, allocations: 3.931 MB / 0.8497 GB, free: 114.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007778/1.53, allocations: 57.02 kB / 0.8497 GB, free: 114.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04412/1.574, allocations: 21.87 MB / 0.8711 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.574, allocations: 0 / 0.8711 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02856/1.603, allocations: 10.69 MB / 0.8815 GB, free: 100.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.604, allocations: 471.9 kB / 0.882 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009763/1.605, allocations: 54.36 kB / 0.882 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002975/1.608, allocations: 306.6 kB / 0.8823 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001453/1.61, allocations: 390.8 kB / 0.8827 GB, free: 100.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.61, allocations: 75.02 kB / 0.8828 GB, free: 100.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003221/1.613, allocations: 1.746 MB / 0.8845 GB, free: 99.68 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.31e-07/1.613, allocations: 0 / 0.8845 GB, free: 99.68 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004621/1.618, allocations: 1.003 MB / 0.8855 GB, free: 99.55 MB / 0.573 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.02921/1.647, allocations: 11.54 MB / 0.8967 GB, free: 95.59 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.66, allocations: 5.398 MB / 0.902 GB, free: 93.17 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.66, allocations: 0 / 0.902 GB, free: 93.17 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008764/1.668, allocations: 3.916 MB / 0.9058 GB, free: 89.64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/1.671, allocations: 265.4 kB / 0.9061 GB, free: 89.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/1.684, allocations: 11.44 MB / 0.9172 GB, free: 78.47 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/1.685, allocations: 1.894 MB / 0.9191 GB, free: 77 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001173/1.686, allocations: 225.8 kB / 0.9193 GB, free: 76.84 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/1.688, allocations: 1.25 MB / 0.9205 GB, free: 75.69 MB / 0.573 GB Notification: Performance of SimCode: time 1.684e-06/1.688, allocations: 3.609 kB / 0.9205 GB, free: 75.69 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/1.794, allocations: 74.94 MB / 0.9937 GB, free: 12.05 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/1.794, allocations: 203.1 kB / 0.9939 GB, free: 11.81 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.555/7.349, allocations: 0 / 0.9939 GB, free: 11.81 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom.fmu > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)