Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.001217/0.001217, allocations: 174.7 kB / 7.644 MB, free: 1.41 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.25/1.25, allocations: 221.5 MB / 229.6 MB, free: 7.504 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.0007766/0.0007766, allocations: 106.1 kB / 280.5 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4732/0.4732, allocations: 78.06 MB / 409.3 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.456e-05/1.459e-05, allocations: 4 kB / 484.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1193, allocations: 69.35 MB / 0.5413 GB, free: 6.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3779/0.4973, allocations: 103 MB / 0.6418 GB, free: 12.55 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.4976, allocations: 67.97 kB / 0.6419 GB, free: 12.49 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1873/0.6849, allocations: 72.74 MB / 0.7129 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.373e-06/0.685, allocations: 0 / 0.7129 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002648/0.6852, allocations: 59.94 kB / 0.713 GB, free: 3.508 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.008993/0.6942, allocations: 3.487 MB / 0.7164 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6943, allocations: 8.031 kB / 0.7164 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007022/0.7013, allocations: 1.19 MB / 0.7176 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/0.7057, allocations: 1.813 MB / 0.7193 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005089/0.7062, allocations: 430.3 kB / 0.7197 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006061/0.7068, allocations: 120.7 kB / 0.7199 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004059/0.7109, allocations: 1.929 MB / 0.7217 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004177/0.7151, allocations: 1.957 MB / 0.7237 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.7151, allocations: 4 kB / 0.7237 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.7154, allocations: 3.953 kB / 0.7237 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.7154, allocations: 47.98 kB / 0.7237 GB, free: 8.281 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.01694/0.7324, allocations: 8.902 MB / 0.7324 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009468/0.7418, allocations: 4.702 MB / 0.737 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/0.744, allocations: 1.277 MB / 0.7382 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.7443, allocations: 38.05 kB / 0.7383 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002815/0.7471, allocations: 1.534 MB / 0.7398 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=245): time 5.06e-06/0.7471, allocations: 0 / 0.7398 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245): time 0.02231/0.7695, allocations: 7.314 MB / 0.7469 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.7696, allocations: 235.6 kB / 0.7471 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004069/0.7737, allocations: 1.967 MB / 0.7491 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005903/0.7743, allocations: 29.7 kB / 0.7491 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.7754, allocations: 1.213 MB / 0.7503 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/0.7767, allocations: 0.812 MB / 0.7511 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003847/0.7771, allocations: 0 / 0.7511 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.7773, allocations: 399.1 kB / 0.7515 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.7793, allocations: 1.044 MB / 0.7525 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.7815, allocations: 1.299 MB / 0.7537 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.7836, allocations: 1.156 MB / 0.7549 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.7836, allocations: 4 kB / 0.7549 GB, free: 7.508 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01995/0.8036, allocations: 6.91 MB / 0.7616 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.8037, allocations: 170.2 kB / 0.7618 GB, free: 344 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.8037, allocations: 6.906 kB / 0.7618 GB, free: 340 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.293/1.097, allocations: 2.79 MB / 0.7645 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/1.099, allocations: 463.2 kB / 0.765 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02517/1.124, allocations: 15.58 MB / 0.7802 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/1.128, allocations: 378.6 kB / 0.7805 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004612/1.129, allocations: 88.16 kB / 0.7806 GB, free: 112.1 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.0005568/1.129, allocations: 244.8 kB / 0.7809 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005964/1.13, allocations: 308.7 kB / 0.7811 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02068/1.151, allocations: 7.533 MB / 0.7885 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.685e-05/1.151, allocations: 25.47 kB / 0.7885 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.151, allocations: 0 / 0.7885 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.726e-05/1.151, allocations: 15.64 kB / 0.7885 GB, free: 111.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.02785/1.179, allocations: 11.81 MB / 0.8001 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/1.179, allocations: 1.734 kB / 0.8001 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.18, allocations: 238.5 kB / 0.8003 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01154/1.192, allocations: 3.325 MB / 0.8036 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005221/1.192, allocations: 21.77 kB / 0.8036 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02994/1.222, allocations: 17.5 MB / 0.8207 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/1.222, allocations: 0 / 0.8207 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02291/1.245, allocations: 9.249 MB / 0.8297 GB, free: 99.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.247, allocations: 459 kB / 0.8301 GB, free: 99.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/1.247, allocations: 11.03 kB / 0.8301 GB, free: 99.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/1.25, allocations: 257.4 kB / 0.8304 GB, free: 99.49 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001195/1.251, allocations: 395.6 kB / 0.8308 GB, free: 99.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.251, allocations: 67.19 kB / 0.8308 GB, free: 99.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001891/1.253, allocations: 1.463 MB / 0.8323 GB, free: 98.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.253, allocations: 4.25 kB / 0.8323 GB, free: 98.78 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003033/1.256, allocations: 0.9003 MB / 0.8331 GB, free: 98.74 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.0004011/1.256, allocations: 160.6 kB / 0.8333 GB, free: 98.64 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008356/1.265, allocations: 4.571 MB / 0.8378 GB, free: 96.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.265, allocations: 0 / 0.8378 GB, free: 96.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007123/1.272, allocations: 3.449 MB / 0.8411 GB, free: 94.92 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/1.274, allocations: 222.8 kB / 0.8413 GB, free: 94.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00777/1.282, allocations: 4.502 MB / 0.8457 GB, free: 92.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/1.283, allocations: 1.901 MB / 0.8476 GB, free: 91.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001053/1.284, allocations: 221.8 kB / 0.8478 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/1.284, allocations: 143.2 kB / 0.8479 GB, free: 91.86 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/1.284, allocations: 0 / 0.8479 GB, free: 91.86 MB / 0.5573 GB Notification: Performance of Templates: time 0.06295/1.347, allocations: 46.53 MB / 0.8934 GB, free: 72 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)