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: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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.001309/0.001309, 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.36/1.36, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0007876/0.0007875, allocations: 94.97 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4374/0.4374, allocations: 78.12 MB / 409.4 MB, free: 6.43 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.405e-05/1.405e-05, allocations: 7.938 kB / 484.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1398, allocations: 69.37 MB / 0.5413 GB, free: 6.949 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3484/0.4883, allocations: 103 MB / 0.6419 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.4885, allocations: 73.62 kB / 0.6419 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.188/0.6766, allocations: 72.73 MB / 0.713 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.787e-06/0.6766, allocations: 4.641 kB / 0.713 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000182/0.6768, allocations: 63.94 kB / 0.713 GB, free: 3.719 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.008456/0.6853, allocations: 3.484 MB / 0.7164 GB, free: 144 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6853, allocations: 12.03 kB / 0.7164 GB, free: 132 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007166/0.6925, allocations: 1.19 MB / 0.7176 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003784/0.6963, allocations: 1.806 MB / 0.7194 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004421/0.6968, allocations: 430.4 kB / 0.7198 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/0.6971, allocations: 129.7 kB / 0.7199 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003464/0.7006, allocations: 1.921 MB / 0.7218 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/0.704, allocations: 1.957 MB / 0.7237 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.7041, allocations: 0 / 0.7237 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.7043, allocations: 7.938 kB / 0.7237 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.7043, allocations: 48 kB / 0.7237 GB, free: 8.5 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.01686/0.7212, allocations: 8.91 MB / 0.7324 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009364/0.7306, allocations: 4.694 MB / 0.737 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.7329, allocations: 1.276 MB / 0.7383 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.7331, allocations: 38.05 kB / 0.7383 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002873/0.736, allocations: 1.534 MB / 0.7398 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=245): time 4.929e-06/0.736, allocations: 0 / 0.7398 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245): time 0.02344/0.7595, allocations: 7.314 MB / 0.747 GB, free: 76 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.7597, allocations: 243.8 kB / 0.7472 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.7629, allocations: 1.959 MB / 0.7491 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000622/0.7635, allocations: 29.7 kB / 0.7491 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008884/0.7644, allocations: 1.209 MB / 0.7503 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.7655, allocations: 0.8159 MB / 0.7511 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.7657, allocations: 0 / 0.7511 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.7659, allocations: 400.2 kB / 0.7515 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.7676, allocations: 1.048 MB / 0.7525 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.7696, allocations: 1.296 MB / 0.7538 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.7715, allocations: 1.156 MB / 0.7549 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.7715, allocations: 0 / 0.7549 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.0197/0.7912, allocations: 6.922 MB / 0.7617 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.7914, allocations: 170.2 kB / 0.7618 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.7914, allocations: 8.562 kB / 0.7618 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2696/1.061, allocations: 2.78 MB / 0.7646 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002476/1.064, allocations: 467.2 kB / 0.765 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02682/1.09, allocations: 15.57 MB / 0.7802 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/1.094, allocations: 378.8 kB / 0.7806 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003111/1.094, allocations: 90.28 kB / 0.7807 GB, free: 111.9 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.0005481/1.095, allocations: 240.3 kB / 0.7809 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000505/1.095, allocations: 310.2 kB / 0.7812 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02136/1.117, allocations: 7.533 MB / 0.7885 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/1.117, allocations: 24.66 kB / 0.7886 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.117, allocations: 2.297 kB / 0.7886 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.986e-05/1.117, allocations: 15.34 kB / 0.7886 GB, free: 111.3 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.02787/1.145, allocations: 11.81 MB / 0.8001 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/1.145, allocations: 2.531 kB / 0.8001 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.146, allocations: 237.1 kB / 0.8003 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01146/1.158, allocations: 3.326 MB / 0.8036 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005959/1.158, allocations: 20.28 kB / 0.8036 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03165/1.19, allocations: 17.5 MB / 0.8207 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.19, allocations: 4 kB / 0.8207 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02387/1.214, allocations: 9.246 MB / 0.8297 GB, free: 99.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.215, allocations: 453 kB / 0.8302 GB, free: 99.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/1.216, allocations: 15.67 kB / 0.8302 GB, free: 99.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/1.22, allocations: 256.4 kB / 0.8304 GB, free: 99.29 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001461/1.221, allocations: 392 kB / 0.8308 GB, free: 99.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003649/1.221, allocations: 71.42 kB / 0.8309 GB, free: 99.21 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002761/1.224, allocations: 1.456 MB / 0.8323 GB, free: 98.58 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.224, allocations: 0.6562 kB / 0.8323 GB, free: 98.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004838/1.229, allocations: 0.9069 MB / 0.8332 GB, free: 98.54 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.0006095/1.23, allocations: 161.4 kB / 0.8333 GB, free: 98.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00944/1.239, allocations: 4.575 MB / 0.8378 GB, free: 96.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/1.239, allocations: 0 / 0.8378 GB, free: 96.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007747/1.247, allocations: 3.446 MB / 0.8412 GB, free: 94.72 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/1.25, allocations: 216.6 kB / 0.8414 GB, free: 94.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009834/1.26, allocations: 4.508 MB / 0.8458 GB, free: 92.51 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/1.261, allocations: 1.893 MB / 0.8476 GB, free: 91.71 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001201/1.262, allocations: 231 kB / 0.8478 GB, free: 91.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/1.263, allocations: 137.8 kB / 0.848 GB, free: 91.66 MB / 0.5573 GB Notification: Performance of SimCode: time 8.81e-07/1.263, allocations: 0 / 0.848 GB, free: 91.66 MB / 0.5573 GB Notification: Performance of Templates: time 0.06322/1.326, allocations: 46.53 MB / 0.8934 GB, free: 71.67 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (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 & ./OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)