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.001075/0.001075, allocations: 174.7 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.184/1.184, allocations: 221.4 MB / 234.6 MB, free: 14.47 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.0008754/0.0008755, allocations: 94.39 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4262/0.4262, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.624e-05, allocations: 8 kB / 491.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.284, allocations: 69.34 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.4012, allocations: 103.6 MB / 0.6492 GB, free: 12.79 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.4014, allocations: 75.91 kB / 0.6492 GB, free: 12.72 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4447/0.8462, allocations: 73.55 MB / 0.7211 GB, free: 87.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.8462, allocations: 0 / 0.7211 GB, free: 87.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001723/0.8464, allocations: 60 kB / 0.7211 GB, free: 87.14 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.007825/0.8543, allocations: 3.483 MB / 0.7245 GB, free: 83.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.8543, allocations: 11.97 kB / 0.7245 GB, free: 83.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006765/0.8611, allocations: 1.198 MB / 0.7257 GB, free: 82.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/0.8644, allocations: 1.814 MB / 0.7275 GB, free: 80.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.8648, allocations: 0.4906 MB / 0.7279 GB, free: 79.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003535/0.8652, allocations: 195.9 kB / 0.7281 GB, free: 79.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/0.8686, allocations: 2.219 MB / 0.7303 GB, free: 77.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.8687, allocations: 7.938 kB / 0.7303 GB, free: 77.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.8689, allocations: 76 kB / 0.7304 GB, free: 77.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.8689, allocations: 47.98 kB / 0.7304 GB, free: 77.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/0.872, allocations: 2.018 MB / 0.7324 GB, free: 75.34 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.01513/0.8871, allocations: 9.233 MB / 0.7414 GB, free: 65.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009073/0.8962, allocations: 4.793 MB / 0.7461 GB, free: 60.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.8985, allocations: 1.35 MB / 0.7474 GB, free: 59.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.8988, allocations: 42.19 kB / 0.7474 GB, free: 59.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002452/0.9012, allocations: 1.624 MB / 0.749 GB, free: 57.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 5.28e-06/0.9012, allocations: 3.938 kB / 0.749 GB, free: 57.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=245): time 0.0208/0.922, allocations: 7.569 MB / 0.7564 GB, free: 50.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.9222, allocations: 243.5 kB / 0.7567 GB, free: 49.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.9252, allocations: 2.151 MB / 0.7588 GB, free: 47.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005316/0.9258, allocations: 69.7 kB / 0.7588 GB, free: 47.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006383/0.9264, allocations: 1.225 MB / 0.76 GB, free: 46.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006691/0.9271, allocations: 0.851 MB / 0.7609 GB, free: 45.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.9273, allocations: 48 kB / 0.7609 GB, free: 45.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.9274, allocations: 399 kB / 0.7613 GB, free: 44.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.929, allocations: 1.095 MB / 0.7624 GB, free: 43.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.9307, allocations: 1.358 MB / 0.7637 GB, free: 42.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.9325, allocations: 1.366 MB / 0.765 GB, free: 40.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.9325, allocations: 4 kB / 0.765 GB, free: 40.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01823/0.9508, allocations: 7.303 MB / 0.7721 GB, free: 33.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.4e-05/0.9509, allocations: 174.2 kB / 0.7723 GB, free: 33.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.9509, allocations: 8.562 kB / 0.7723 GB, free: 33.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009388/0.9603, allocations: 2.93 MB / 0.7752 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.9628, allocations: 459.4 kB / 0.7756 GB, free: 29.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02572/0.9885, allocations: 16.11 MB / 0.7914 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/0.992, allocations: 433.7 kB / 0.7918 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.9923, allocations: 91.97 kB / 0.7919 GB, free: 12.93 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.000509/0.9928, allocations: 322.9 kB / 0.7922 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004425/0.9932, allocations: 316.1 kB / 0.7925 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0205/1.014, allocations: 7.875 MB / 0.8002 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/1.014, allocations: 24 kB / 0.8002 GB, free: 4.332 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/1.014, allocations: 4 kB / 0.8002 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.593e-05/1.014, allocations: 15.95 kB / 0.8002 GB, free: 4.312 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.02766/1.042, allocations: 12.32 MB / 0.8122 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/1.042, allocations: 8.031 kB / 0.8122 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/1.043, allocations: 243.6 kB / 0.8125 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01099/1.054, allocations: 3.357 MB / 0.8158 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005811/1.055, allocations: 63.98 kB / 0.8158 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03267/1.088, allocations: 17.89 MB / 0.8333 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.088, allocations: 3.938 kB / 0.8333 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02589/1.113, allocations: 9.547 MB / 0.8426 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.115, allocations: 468.5 kB / 0.8431 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000662/1.115, allocations: 55.95 kB / 0.8431 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002665/1.118, allocations: 295.7 kB / 0.8434 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/1.119, allocations: 390.1 kB / 0.8438 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.12, allocations: 67.98 kB / 0.8438 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00243/1.122, allocations: 1.643 MB / 0.8454 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/1.122, allocations: 4 kB / 0.8454 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003153/1.125, allocations: 1.01 MB / 0.8464 GB, free: 4.027 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.0004472/1.126, allocations: 199.4 kB / 0.8466 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.136, allocations: 4.746 MB / 0.8513 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.136, allocations: 0 / 0.8513 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008388/1.144, allocations: 3.573 MB / 0.8547 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.146, allocations: 272.3 kB / 0.855 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009154/1.155, allocations: 4.627 MB / 0.8595 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.157, allocations: 1.892 MB / 0.8614 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001285/1.158, allocations: 232.8 kB / 0.8616 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000629/1.159, allocations: 143.4 kB / 0.8617 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of SimCode: time 1.933e-06/1.159, allocations: 0 / 0.8617 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.347/1.506, allocations: 50.62 MB / 0.9112 GB, free: 168.1 MB / 0.573 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)