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.000964/0.0009641, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.145/1.145, 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.0008604/0.0008605, allocations: 97.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.4112/0.4112, allocations: 78.9 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.251e-05, allocations: 0 / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.274, allocations: 69.5 MB / 0.5492 GB, free: 19.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.3847, allocations: 104.4 MB / 0.6512 GB, free: 11.18 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001575/0.3849, allocations: 71.97 kB / 0.6512 GB, free: 11.11 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4227/0.8076, allocations: 75.27 MB / 0.7247 GB, free: 83.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.8077, allocations: 0 / 0.7247 GB, free: 83.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001706/0.8078, allocations: 60 kB / 0.7248 GB, free: 83.27 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.006926/0.8148, allocations: 3.484 MB / 0.7282 GB, free: 79.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.8148, allocations: 11.97 kB / 0.7282 GB, free: 79.68 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002951/0.8151, allocations: 278 kB / 0.7285 GB, free: 79.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005983/0.8211, allocations: 1.194 MB / 0.7296 GB, free: 78.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/0.8239, allocations: 1.798 MB / 0.7314 GB, free: 76.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.8242, allocations: 0.4984 MB / 0.7319 GB, free: 75.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.8245, allocations: 195.9 kB / 0.7321 GB, free: 75.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/0.8278, allocations: 2.223 MB / 0.7342 GB, free: 73.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.8278, allocations: 3.984 kB / 0.7342 GB, free: 73.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.828, allocations: 76 kB / 0.7343 GB, free: 73.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.8281, allocations: 48 kB / 0.7344 GB, free: 73.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/0.831, allocations: 2.018 MB / 0.7363 GB, free: 71.19 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.0132/0.8442, allocations: 9.3 MB / 0.7454 GB, free: 61.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007881/0.8521, allocations: 4.797 MB / 0.7501 GB, free: 56.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.8536, allocations: 1.343 MB / 0.7514 GB, free: 55.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.8538, allocations: 38.14 kB / 0.7514 GB, free: 55.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002026/0.8559, allocations: 1.616 MB / 0.753 GB, free: 53.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 3.997e-06/0.8559, allocations: 0 / 0.753 GB, free: 53.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=245): time 0.01939/0.8753, allocations: 7.577 MB / 0.7604 GB, free: 45.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.8754, allocations: 239.7 kB / 0.7607 GB, free: 45.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.8782, allocations: 2.151 MB / 0.7628 GB, free: 43.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003845/0.8786, allocations: 69.7 kB / 0.7628 GB, free: 43.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006296/0.8792, allocations: 1.221 MB / 0.764 GB, free: 42.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006211/0.8798, allocations: 0.851 MB / 0.7648 GB, free: 41.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.88, allocations: 48 kB / 0.7649 GB, free: 41.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.8801, allocations: 399.1 kB / 0.7653 GB, free: 40.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.8817, allocations: 1.091 MB / 0.7663 GB, free: 39.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.8833, allocations: 1.362 MB / 0.7677 GB, free: 38.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.885, allocations: 1.366 MB / 0.769 GB, free: 36.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.885, allocations: 4 kB / 0.769 GB, free: 36.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01736/0.9024, allocations: 7.295 MB / 0.7761 GB, free: 29.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/0.9025, allocations: 174.2 kB / 0.7763 GB, free: 29.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.9025, allocations: 4 kB / 0.7763 GB, free: 29.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008893/0.9114, allocations: 2.934 MB / 0.7792 GB, free: 26.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.9137, allocations: 455.4 kB / 0.7796 GB, free: 25.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/0.9379, allocations: 16.1 MB / 0.7953 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/0.9413, allocations: 437.8 kB / 0.7957 GB, free: 8.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.9415, allocations: 91.91 kB / 0.7958 GB, free: 8.75 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.0004859/0.942, allocations: 341.3 kB / 0.7962 GB, free: 8.395 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003882/0.9424, allocations: 316.1 kB / 0.7965 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01924/0.9616, allocations: 7.863 MB / 0.8041 GB, free: 172 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.9617, allocations: 27.95 kB / 0.8042 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.9617, allocations: 4 kB / 0.8042 GB, free: 140 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.766e-05/0.9618, allocations: 15.95 kB / 0.8042 GB, free: 124 kB / 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.02725/0.989, allocations: 12.32 MB / 0.8162 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.9891, allocations: 0 / 0.8162 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.9904, allocations: 235.7 kB / 0.8164 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01018/1.001, allocations: 3.369 MB / 0.8197 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002886/1.001, allocations: 59.92 kB / 0.8198 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03015/1.031, allocations: 17.91 MB / 0.8373 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.031, allocations: 0 / 0.8373 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02447/1.056, allocations: 9.527 MB / 0.8466 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.057, allocations: 460.5 kB / 0.847 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004421/1.057, allocations: 48 kB / 0.8471 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002494/1.06, allocations: 303.7 kB / 0.8473 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00115/1.061, allocations: 398 kB / 0.8477 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.061, allocations: 67.98 kB / 0.8478 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002314/1.063, allocations: 1.643 MB / 0.8494 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/1.063, allocations: 0 / 0.8494 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002558/1.066, allocations: 1.003 MB / 0.8504 GB, free: 15.86 MB / 0.5417 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.02392/1.09, allocations: 10.37 MB / 0.8605 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009886/1.1, allocations: 4.751 MB / 0.8651 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.1, allocations: 3.938 kB / 0.8652 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008458/1.108, allocations: 3.569 MB / 0.8686 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/1.11, allocations: 259.5 kB / 0.8689 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.12, allocations: 5.149 MB / 0.8739 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/1.122, allocations: 1.892 MB / 0.8758 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009438/1.123, allocations: 228.8 kB / 0.876 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/1.124, allocations: 1.245 MB / 0.8772 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/1.124, allocations: 4 kB / 0.8772 GB, free: 4.004 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3504/1.475, allocations: 76.11 MB / 0.9515 GB, free: 147.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001264/1.475, allocations: 181.5 kB / 0.9517 GB, free: 147.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.741/6.216, allocations: 0 / 0.9517 GB, free: 147.4 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)