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.004658/0.004658, 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.179/1.179, allocations: 223.2 MB / 239 MB, free: 1.762 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.0008325/0.0008325, allocations: 100.8 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4081/0.4081, allocations: 79.44 MB / 420.8 MB, free: 43.73 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 12 kB / 0.489 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2957, allocations: 69.5 MB / 0.5569 GB, free: 38.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.402, allocations: 104.5 MB / 0.6589 GB, free: 1.062 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.4023, allocations: 76.58 kB / 0.659 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1828/0.5851, allocations: 75.39 MB / 0.7326 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5851, allocations: 0 / 0.7326 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003013/0.5854, allocations: 56 kB / 0.7327 GB, free: 5.043 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.01121/0.5966, allocations: 4.226 MB / 0.7368 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.5967, allocations: 8.031 kB / 0.7368 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006777/0.6035, allocations: 1.209 MB / 0.738 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004331/0.6078, allocations: 1.895 MB / 0.7399 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004803/0.6083, allocations: 0.4906 MB / 0.7403 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005905/0.6089, allocations: 195.9 kB / 0.7405 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004908/0.6138, allocations: 2.546 MB / 0.743 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.6139, allocations: 0 / 0.743 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.6141, allocations: 76 kB / 0.7431 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.6141, allocations: 48 kB / 0.7431 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.6182, allocations: 2.365 MB / 0.7454 GB, free: 7.723 MB / 0.5417 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.0143/0.6325, allocations: 9.304 MB / 0.7545 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009698/0.6423, allocations: 5.142 MB / 0.7595 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.6424, allocations: 34.12 kB / 0.7596 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003015/0.6455, allocations: 1.921 MB / 0.7614 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=245): time 4.067e-06/0.6455, allocations: 0 / 0.7614 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of matching and sorting (n=245): time 0.2972/0.9426, allocations: 20.25 MB / 0.7812 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.9428, allocations: 236.1 kB / 0.7814 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003328/0.9461, allocations: 2.265 MB / 0.7837 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004184/0.9465, allocations: 68.11 kB / 0.7837 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008609/0.9474, allocations: 1.222 MB / 0.7849 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000749/0.9481, allocations: 0.8476 MB / 0.7857 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.9483, allocations: 44.94 kB / 0.7858 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.9484, allocations: 401.2 kB / 0.7862 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002338/0.9507, allocations: 1.399 MB / 0.7875 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.9531, allocations: 1.667 MB / 0.7892 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/0.9556, allocations: 1.668 MB / 0.7908 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.9556, allocations: 0 / 0.7908 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02044/0.9761, allocations: 8.174 MB / 0.7988 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.624e-05/0.9762, allocations: 176.7 kB / 0.7989 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.9762, allocations: 4.031 kB / 0.7989 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/0.9873, allocations: 3.461 MB / 0.8023 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002456/0.9898, allocations: 464.8 kB / 0.8028 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03824/1.028, allocations: 20.13 MB / 0.8224 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/1.032, allocations: 437.9 kB / 0.8228 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/1.032, allocations: 94.41 kB / 0.8229 GB, free: 107.4 MB / 0.5573 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.001268/1.033, allocations: 0.5844 MB / 0.8235 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005183/1.034, allocations: 317.4 kB / 0.8238 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02127/1.055, allocations: 8.722 MB / 0.8323 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/1.055, allocations: 33.84 kB / 0.8324 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.055, allocations: 5.641 kB / 0.8324 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.957e-05/1.055, allocations: 16.03 kB / 0.8324 GB, free: 104.6 MB / 0.5573 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.02692/1.082, allocations: 13.19 MB / 0.8453 GB, free: 99.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/1.082, allocations: 0 / 0.8453 GB, free: 99.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/1.084, allocations: 239 kB / 0.8455 GB, free: 99.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01106/1.095, allocations: 3.923 MB / 0.8493 GB, free: 99.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004602/1.095, allocations: 58.94 kB / 0.8494 GB, free: 99.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03749/1.133, allocations: 21.86 MB / 0.8707 GB, free: 85.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/1.133, allocations: 3.953 kB / 0.8707 GB, free: 85.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02514/1.158, allocations: 10.71 MB / 0.8812 GB, free: 76.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.159, allocations: 469.9 kB / 0.8816 GB, free: 75.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009779/1.16, allocations: 48 kB / 0.8817 GB, free: 75.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/1.163, allocations: 303 kB / 0.882 GB, free: 75.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001382/1.165, allocations: 394.4 kB / 0.8823 GB, free: 75.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003382/1.165, allocations: 76.91 kB / 0.8824 GB, free: 75.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003227/1.168, allocations: 1.744 MB / 0.8841 GB, free: 73.96 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.168, allocations: 0 / 0.8841 GB, free: 73.96 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003846/1.172, allocations: 1.006 MB / 0.8851 GB, free: 72.98 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 () * 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.0005702/1.173, allocations: 204.2 kB / 0.8853 GB, free: 72.79 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01068/1.183, allocations: 5.393 MB / 0.8906 GB, free: 67.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.183, allocations: 0 / 0.8906 GB, free: 67.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008058/1.191, allocations: 3.928 MB / 0.8944 GB, free: 64.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/1.194, allocations: 265.6 kB / 0.8947 GB, free: 64.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009739/1.203, allocations: 6.793 MB / 0.9013 GB, free: 57.92 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000994/1.204, allocations: 1.894 MB / 0.9031 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001048/1.206, allocations: 230.9 kB / 0.9034 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/1.206, allocations: 142.9 kB / 0.9035 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of SimCode: time 8.12e-07/1.206, allocations: 3.938 kB / 0.9035 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of Templates: time 0.06335/1.269, allocations: 50.44 MB / 0.9528 GB, free: 11.08 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)