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: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.0007936/0.0007936, allocations: 92.8 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.451/0.451, allocations: 78.94 MB / 410.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.414e-05/1.416e-05, allocations: 4 kB / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1264, allocations: 69.52 MB / 0.5424 GB, free: 5.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3724/0.4989, allocations: 103.7 MB / 0.6437 GB, free: 10.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.4991, allocations: 71.97 kB / 0.6438 GB, free: 10.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1961/0.6952, allocations: 74.44 MB / 0.7165 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6953, allocations: 4 kB / 0.7165 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000197/0.6955, allocations: 60 kB / 0.7166 GB, free: 15.67 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.009406/0.7049, allocations: 3.479 MB / 0.72 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.705, allocations: 16.02 kB / 0.72 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007314/0.7123, allocations: 1.194 MB / 0.7211 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004001/0.7163, allocations: 1.786 MB / 0.7229 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004739/0.7168, allocations: 438.4 kB / 0.7233 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000441/0.7173, allocations: 115.9 kB / 0.7234 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004063/0.7213, allocations: 1.922 MB / 0.7253 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/0.7252, allocations: 1.957 MB / 0.7272 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.7252, allocations: 4 kB / 0.7272 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/0.7254, allocations: 3.953 kB / 0.7272 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.7255, allocations: 44 kB / 0.7273 GB, free: 4.469 MB / 0.5261 GB 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.01674/0.7422, allocations: 8.988 MB / 0.736 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009588/0.7518, allocations: 4.683 MB / 0.7406 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/0.7541, allocations: 1.276 MB / 0.7419 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.7544, allocations: 41.95 kB / 0.7419 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002543/0.7569, allocations: 1.534 MB / 0.7434 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=245): time 5.13e-06/0.7569, allocations: 0 / 0.7434 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245): time 0.0226/0.7795, allocations: 7.314 MB / 0.7505 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.7797, allocations: 240.5 kB / 0.7508 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.7828, allocations: 1.959 MB / 0.7527 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005201/0.7833, allocations: 29.7 kB / 0.7527 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000891/0.7842, allocations: 1.209 MB / 0.7539 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008867/0.7851, allocations: 0.812 MB / 0.7547 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.7853, allocations: 4 kB / 0.7547 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.7855, allocations: 399.1 kB / 0.7551 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.7872, allocations: 1.04 MB / 0.7561 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.789, allocations: 1.299 MB / 0.7573 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.7908, allocations: 1.157 MB / 0.7585 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.7909, allocations: 0 / 0.7585 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.2964/1.087, allocations: 6.904 MB / 0.7652 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.545e-05/1.087, allocations: 171.8 kB / 0.7654 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.087, allocations: 4.969 kB / 0.7654 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009357/1.097, allocations: 2.788 MB / 0.7681 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/1.099, allocations: 466.8 kB / 0.7686 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02609/1.125, allocations: 15.58 MB / 0.7838 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/1.129, allocations: 383.9 kB / 0.7841 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000403/1.13, allocations: 95.56 kB / 0.7842 GB, free: 111.2 MB / 0.5573 GB 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.0005928/1.13, allocations: 247.2 kB / 0.7845 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007362/1.131, allocations: 311.8 kB / 0.7848 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02193/1.153, allocations: 7.535 MB / 0.7921 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.356e-05/1.153, allocations: 26.47 kB / 0.7921 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.153, allocations: 2.25 kB / 0.7921 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.269e-05/1.153, allocations: 10.78 kB / 0.7922 GB, free: 110.6 MB / 0.5573 GB 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.02906/1.182, allocations: 11.79 MB / 0.8037 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/1.182, allocations: 0 / 0.8037 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.184, allocations: 241.8 kB / 0.8039 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/1.195, allocations: 3.335 MB / 0.8072 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005743/1.196, allocations: 23.56 kB / 0.8072 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03125/1.227, allocations: 17.52 MB / 0.8243 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.227, allocations: 0 / 0.8243 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02339/1.251, allocations: 9.215 MB / 0.8333 GB, free: 98.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.252, allocations: 458.5 kB / 0.8337 GB, free: 98.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008336/1.253, allocations: 8.281 kB / 0.8337 GB, free: 98.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002842/1.256, allocations: 262.5 kB / 0.834 GB, free: 98.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00127/1.257, allocations: 399.5 kB / 0.8344 GB, free: 98.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.257, allocations: 64.05 kB / 0.8344 GB, free: 98.17 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002003/1.259, allocations: 1.461 MB / 0.8359 GB, free: 97.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.259, allocations: 0 / 0.8359 GB, free: 97.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003211/1.263, allocations: 0.9133 MB / 0.8367 GB, free: 97.49 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 () * 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.0003847/1.263, allocations: 158 kB / 0.8369 GB, free: 97.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008714/1.272, allocations: 4.569 MB / 0.8414 GB, free: 95.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.272, allocations: 0.8438 kB / 0.8414 GB, free: 95.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00759/1.279, allocations: 3.436 MB / 0.8447 GB, free: 93.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.282, allocations: 218.7 kB / 0.8449 GB, free: 93.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007839/1.289, allocations: 4.505 MB / 0.8493 GB, free: 91.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.29, allocations: 1.897 MB / 0.8512 GB, free: 90.67 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00109/1.292, allocations: 224.8 kB / 0.8514 GB, free: 90.64 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/1.292, allocations: 138.1 kB / 0.8515 GB, free: 90.62 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/1.292, allocations: 0 / 0.8515 GB, free: 90.62 MB / 0.5573 GB Notification: Performance of Templates: time 0.0602/1.352, allocations: 46.55 MB / 0.897 GB, free: 67.36 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)