Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_release_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.001294/0.001294, allocations: 169 kB / 12.72 MB, free: 2.586 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.368/1.368, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008571/0.0008571, allocations: 94.81 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4531/0.4531, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.611e-05, allocations: 4 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.29, allocations: 69.34 MB / 0.5481 GB, free: 20.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.4073, allocations: 103.6 MB / 0.6493 GB, free: 12.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.4075, allocations: 67.97 kB / 0.6494 GB, free: 12.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4479/0.8555, allocations: 73.57 MB / 0.7212 GB, free: 87.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.8555, allocations: 4 kB / 0.7212 GB, free: 87.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002249/0.8557, allocations: 56 kB / 0.7213 GB, free: 87.26 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: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.01124/0.867, allocations: 3.487 MB / 0.7247 GB, free: 83.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.8671, allocations: 11.97 kB / 0.7247 GB, free: 83.67 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007419/0.8678, allocations: 274 kB / 0.7249 GB, free: 83.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008002/0.8758, allocations: 1.194 MB / 0.7261 GB, free: 82.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003521/0.8794, allocations: 1.806 MB / 0.7279 GB, free: 80.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.8798, allocations: 498.4 kB / 0.7283 GB, free: 79.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003539/0.8802, allocations: 199.9 kB / 0.7285 GB, free: 79.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.8836, allocations: 2.23 MB / 0.7307 GB, free: 77.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.8836, allocations: 0 / 0.7307 GB, free: 77.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/0.8838, allocations: 76 kB / 0.7308 GB, free: 77.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.8839, allocations: 48 kB / 0.7308 GB, free: 77.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.8869, allocations: 2.018 MB / 0.7328 GB, free: 75.18 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.01402/0.9009, allocations: 9.237 MB / 0.7418 GB, free: 65.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009768/0.9107, allocations: 4.797 MB / 0.7465 GB, free: 60.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.9129, allocations: 1.343 MB / 0.7478 GB, free: 59.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.9131, allocations: 46.19 kB / 0.7479 GB, free: 59.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002187/0.9153, allocations: 1.619 MB / 0.7494 GB, free: 57.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 6.993e-06/0.9153, allocations: 3.984 kB / 0.7494 GB, free: 57.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=245): time 0.02129/0.9366, allocations: 7.577 MB / 0.7568 GB, free: 49.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.9367, allocations: 243.7 kB / 0.7571 GB, free: 49.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/0.9404, allocations: 2.151 MB / 0.7592 GB, free: 47.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005152/0.941, allocations: 65.7 kB / 0.7592 GB, free: 47.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008036/0.9418, allocations: 1.225 MB / 0.7604 GB, free: 46.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009874/0.9428, allocations: 0.8471 MB / 0.7613 GB, free: 45.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.9431, allocations: 52 kB / 0.7613 GB, free: 45.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.9433, allocations: 403 kB / 0.7617 GB, free: 44.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.9451, allocations: 1.091 MB / 0.7628 GB, free: 43.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/0.9471, allocations: 1.366 MB / 0.7641 GB, free: 42.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.9492, allocations: 1.37 MB / 0.7654 GB, free: 40.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.9492, allocations: 0 / 0.7654 GB, free: 40.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01958/0.9688, allocations: 7.299 MB / 0.7726 GB, free: 33.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/0.9689, allocations: 174.2 kB / 0.7727 GB, free: 33.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.9689, allocations: 4 kB / 0.7727 GB, free: 33.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009856/0.9788, allocations: 2.938 MB / 0.7756 GB, free: 30.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.9814, allocations: 459.4 kB / 0.776 GB, free: 29.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02888/1.01, allocations: 16.11 MB / 0.7918 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003974/1.014, allocations: 437.7 kB / 0.7922 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005455/1.015, allocations: 91.97 kB / 0.7923 GB, free: 12.76 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "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 () * 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.0008758/1.016, allocations: 328.3 kB / 0.7926 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009809/1.017, allocations: 316.1 kB / 0.7929 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02179/1.039, allocations: 7.863 MB / 0.8006 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/1.039, allocations: 24 kB / 0.8006 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.039, allocations: 4 kB / 0.8006 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.296e-05/1.039, allocations: 15.95 kB / 0.8006 GB, free: 4.145 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 postOpt removeSimpleEquations (simulation): time 0.03195/1.071, allocations: 12.34 MB / 0.8126 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/1.071, allocations: 4 kB / 0.8127 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/1.072, allocations: 235.7 kB / 0.8129 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01133/1.084, allocations: 3.365 MB / 0.8162 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005487/1.084, allocations: 59.92 kB / 0.8162 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03289/1.117, allocations: 17.89 MB / 0.8337 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.117, allocations: 4 kB / 0.8337 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02642/1.144, allocations: 9.551 MB / 0.843 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.145, allocations: 464.5 kB / 0.8435 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006202/1.146, allocations: 51.95 kB / 0.8435 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002652/1.148, allocations: 295.7 kB / 0.8438 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001287/1.149, allocations: 406 kB / 0.8442 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/1.15, allocations: 63.98 kB / 0.8442 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002435/1.152, allocations: 1.639 MB / 0.8458 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.152, allocations: 0 / 0.8458 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002989/1.155, allocations: 1.01 MB / 0.8468 GB, free: 3.859 MB / 0.5261 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 () * 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.0254/1.181, allocations: 10.4 MB / 0.857 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.191, allocations: 4.739 MB / 0.8616 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.191, allocations: 4.125 kB / 0.8616 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008262/1.199, allocations: 3.573 MB / 0.8651 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/1.201, allocations: 255.6 kB / 0.8654 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.212, allocations: 5.153 MB / 0.8704 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/1.213, allocations: 1.892 MB / 0.8722 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001063/1.214, allocations: 232.8 kB / 0.8725 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/1.216, allocations: 1.249 MB / 0.8737 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/1.216, allocations: 0 / 0.8737 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3963/1.612, allocations: 76.12 MB / 0.948 GB, free: 154.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001332/1.612, allocations: 182.1 kB / 0.9482 GB, free: 153.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.621/6.233, allocations: 0 / 0.9482 GB, free: 153.9 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom.fmu > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)