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.001389/0.001389, allocations: 174.8 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.187/1.187, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008106/0.0008106, allocations: 99.94 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.4437/0.4437, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.636e-05, allocations: 4 kB / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3008, allocations: 69.35 MB / 0.548 GB, free: 20.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.4181, allocations: 103.6 MB / 0.6492 GB, free: 12.91 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.4183, allocations: 71.97 kB / 0.6493 GB, free: 12.84 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4455/0.8639, allocations: 73.56 MB / 0.7211 GB, free: 87.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.8639, allocations: 0 / 0.7211 GB, free: 87.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001779/0.8641, allocations: 60 kB / 0.7212 GB, free: 87.3 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.00901/0.8731, allocations: 3.479 MB / 0.7245 GB, free: 83.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8732, allocations: 15.97 kB / 0.7246 GB, free: 83.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007421/0.8806, allocations: 1.202 MB / 0.7257 GB, free: 82.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/0.8844, allocations: 1.802 MB / 0.7275 GB, free: 80.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/0.8848, allocations: 0.4906 MB / 0.728 GB, free: 80.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005579/0.8854, allocations: 207.8 kB / 0.7282 GB, free: 79.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/0.8889, allocations: 2.219 MB / 0.7303 GB, free: 77.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.8889, allocations: 0 / 0.7303 GB, free: 77.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.8892, allocations: 79.98 kB / 0.7304 GB, free: 77.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.8892, allocations: 48 kB / 0.7305 GB, free: 77.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.8923, allocations: 2.018 MB / 0.7324 GB, free: 75.49 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.01432/0.9066, allocations: 9.237 MB / 0.7415 GB, free: 65.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008763/0.9154, allocations: 4.793 MB / 0.7461 GB, free: 60.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00227/0.9177, allocations: 1.347 MB / 0.7475 GB, free: 59.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.918, allocations: 42.14 kB / 0.7475 GB, free: 59.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002389/0.9204, allocations: 1.615 MB / 0.7491 GB, free: 57.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 4.408e-06/0.9204, allocations: 0 / 0.7491 GB, free: 57.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=245): time 0.0212/0.9416, allocations: 7.573 MB / 0.7565 GB, free: 50.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.9417, allocations: 247.7 kB / 0.7567 GB, free: 49.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/0.9447, allocations: 2.151 MB / 0.7588 GB, free: 47.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005183/0.9453, allocations: 65.7 kB / 0.7589 GB, free: 47.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/0.9459, allocations: 1.221 MB / 0.7601 GB, free: 46.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000743/0.9467, allocations: 0.851 MB / 0.7609 GB, free: 45.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.9468, allocations: 55.94 kB / 0.7609 GB, free: 45.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.9469, allocations: 403 kB / 0.7613 GB, free: 45.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.9486, allocations: 1.091 MB / 0.7624 GB, free: 44.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.9503, allocations: 1.358 MB / 0.7637 GB, free: 42.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.952, allocations: 1.37 MB / 0.7651 GB, free: 41.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.952, allocations: 0 / 0.7651 GB, free: 41.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01843/0.9704, allocations: 7.303 MB / 0.7722 GB, free: 33.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.447e-05/0.9705, allocations: 178.2 kB / 0.7724 GB, free: 33.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.9706, allocations: 7.938 kB / 0.7724 GB, free: 33.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009552/0.9801, allocations: 2.938 MB / 0.7752 GB, free: 30.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/0.9826, allocations: 459.4 kB / 0.7757 GB, free: 30.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02617/1.009, allocations: 16.09 MB / 0.7914 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003587/1.012, allocations: 441.7 kB / 0.7918 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003709/1.013, allocations: 91.97 kB / 0.7919 GB, free: 13.08 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.0005132/1.013, allocations: 324.7 kB / 0.7922 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006376/1.014, allocations: 320 kB / 0.7925 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/1.034, allocations: 7.863 MB / 0.8002 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.034, allocations: 24 kB / 0.8002 GB, free: 4.484 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.034, allocations: 4 kB / 0.8002 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.083e-05/1.035, allocations: 15.95 kB / 0.8002 GB, free: 4.465 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.02788/1.062, allocations: 12.33 MB / 0.8123 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/1.062, allocations: 0 / 0.8123 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.064, allocations: 235.7 kB / 0.8125 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/1.075, allocations: 3.369 MB / 0.8158 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006125/1.076, allocations: 55.98 kB / 0.8158 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03286/1.109, allocations: 17.9 MB / 0.8333 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.109, allocations: 4 kB / 0.8333 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02597/1.135, allocations: 9.555 MB / 0.8427 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.136, allocations: 464.5 kB / 0.8431 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/1.137, allocations: 51.95 kB / 0.8431 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003228/1.14, allocations: 295.7 kB / 0.8434 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001468/1.142, allocations: 398.1 kB / 0.8438 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003567/1.142, allocations: 68.09 kB / 0.8439 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003101/1.145, allocations: 1.639 MB / 0.8455 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/1.145, allocations: 0 / 0.8455 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003898/1.149, allocations: 1.014 MB / 0.8465 GB, free: 4.176 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.0005478/1.15, allocations: 203.5 kB / 0.8467 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01026/1.16, allocations: 4.754 MB / 0.8513 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/1.16, allocations: 0 / 0.8513 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008304/1.168, allocations: 3.573 MB / 0.8548 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/1.17, allocations: 263.6 kB / 0.855 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009553/1.18, allocations: 4.623 MB / 0.8596 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1.181, allocations: 1.896 MB / 0.8614 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00125/1.183, allocations: 228.8 kB / 0.8616 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007183/1.183, allocations: 143.4 kB / 0.8618 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/1.183, allocations: 4 kB / 0.8618 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of Templates: time 0.3494/1.533, allocations: 50.63 MB / 0.9112 GB, free: 167.4 MB / 0.573 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)