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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.001471, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 239.2 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 180.5 kB / 289.5 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5538/0.5538, allocations: 91.9 MB / 431.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 79.88 kB / 0.5019 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3752, allocations: 71.26 MB / 0.5715 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01057/0.3858, allocations: 13.73 MB / 0.5849 GB, free: 27.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007791/0.3936, allocations: 3.688 MB / 0.5885 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.3971, allocations: 30.19 kB / 0.5885 GB, free: 24.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.3991, allocations: 0.5254 MB / 0.589 GB, free: 24.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005409/0.4046, allocations: 1.481 MB / 0.5905 GB, free: 23.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.4077, allocations: 1.369 MB / 0.5918 GB, free: 22.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005932/0.4137, allocations: 4.213 MB / 0.5959 GB, free: 20.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.4153, allocations: 0.9647 MB / 0.5968 GB, free: 20.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.4182, allocations: 1.63 MB / 0.5984 GB, free: 19.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002935/0.4212, allocations: 1.983 MB / 0.6004 GB, free: 18.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.4223, allocations: 373.8 kB / 0.6007 GB, free: 18.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.424, allocations: 0.514 MB / 0.6012 GB, free: 18.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007092/0.4247, allocations: 0.8483 MB / 0.6021 GB, free: 17.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002037/0.4268, allocations: 1.763 MB / 0.6038 GB, free: 16.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005507/0.4323, allocations: 4.525 MB / 0.6082 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4323, allocations: 4 kB / 0.6082 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4323, allocations: 5.156 kB / 0.6082 GB, free: 14.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000184/0.4325, allocations: 0 / 0.6082 GB, free: 14.48 MB / 430.1 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.02129/0.4538, allocations: 5.522 MB / 0.6136 GB, free: 11.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4539, allocations: 9.469 kB / 0.6136 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.4656, allocations: 1.638 MB / 0.6152 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005055/0.4707, allocations: 2.073 MB / 0.6172 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004901/0.4712, allocations: 498 kB / 0.6177 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000714/0.4719, allocations: 206 kB / 0.6179 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005531/0.4775, allocations: 2.476 MB / 0.6203 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.4775, allocations: 1.25 kB / 0.6203 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/0.4777, allocations: 77.73 kB / 0.6204 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.4778, allocations: 44.5 kB / 0.6204 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00505/0.4828, allocations: 2.277 MB / 0.6227 GB, free: 7.875 MB / 430.1 MB 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.01905/0.5019, allocations: 9.426 MB / 0.6319 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.513, allocations: 4.598 MB / 0.6364 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003918/0.5169, allocations: 1.566 MB / 0.6379 GB, free: 9.711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/0.5174, allocations: 38.05 kB / 0.6379 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004554/0.5219, allocations: 1.843 MB / 0.6397 GB, free: 7.809 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 8.877e-06/0.522, allocations: 3.938 kB / 0.6397 GB, free: 7.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=245): time 0.08824/0.6102, allocations: 19.05 MB / 0.6583 GB, free: 4.609 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.6104, allocations: 239.7 kB / 0.6586 GB, free: 4.324 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006369/0.6168, allocations: 2.652 MB / 0.6612 GB, free: 1.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009359/0.6178, allocations: 69.7 kB / 0.6612 GB, free: 1.586 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.6191, allocations: 1.186 MB / 0.6624 GB, free: 400 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001905/0.621, allocations: 0.8666 MB / 0.6632 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002835/0.6239, allocations: 0.5893 MB / 0.6638 GB, free: 14.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.624, allocations: 305.1 kB / 0.6641 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004185/0.6282, allocations: 1.615 MB / 0.6657 GB, free: 13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00441/0.6326, allocations: 1.958 MB / 0.6676 GB, free: 10.97 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04754/0.6802, allocations: 11.16 MB / 0.6785 GB, free: 15.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.6803, allocations: 0 / 0.6785 GB, free: 15.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02718/0.7074, allocations: 7.93 MB / 0.6862 GB, free: 7.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.7077, allocations: 170.2 kB / 0.6864 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-05/0.7078, allocations: 8 kB / 0.6864 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01242/0.7202, allocations: 3.08 MB / 0.6894 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003566/0.7238, allocations: 0.6125 MB / 0.69 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04662/0.7704, allocations: 19.45 MB / 0.709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/0.7755, allocations: 433.2 kB / 0.7094 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009546/0.7765, allocations: 120 kB / 0.7095 GB, free: 15.2 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" 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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(36,46), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002459/0.779, allocations: 0.6152 MB / 0.7101 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/0.7804, allocations: 316.1 kB / 0.7104 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02618/0.8066, allocations: 7.468 MB / 0.7177 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.946e-05/0.8067, allocations: 28 kB / 0.7177 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.8067, allocations: 4 kB / 0.7177 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-05/0.8068, allocations: 11.95 kB / 0.7178 GB, free: 6.688 MB / 0.5137 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.03897/0.8458, allocations: 12.22 MB / 0.7297 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-05/0.8459, allocations: 0 / 0.7297 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/0.8476, allocations: 235.7 kB / 0.7299 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01362/0.8612, allocations: 3.547 MB / 0.7334 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001056/0.8623, allocations: 55.98 kB / 0.7334 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05059/0.9129, allocations: 21.53 MB / 0.7545 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.913, allocations: 7.938 kB / 0.7545 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03163/0.9446, allocations: 9.366 MB / 0.7636 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/0.9463, allocations: 456.5 kB / 0.7641 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001571/0.9479, allocations: 55.92 kB / 0.7641 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0041/0.952, allocations: 235.7 kB / 0.7643 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002001/0.954, allocations: 390.4 kB / 0.7647 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006278/0.9547, allocations: 67.98 kB / 0.7648 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004339/0.959, allocations: 1.775 MB / 0.7665 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.11e-07/0.959, allocations: 0 / 0.7665 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00607/0.9651, allocations: 1.061 MB / 0.7675 GB, free: 2.738 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(43,48), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.9662, allocations: 189.2 kB / 0.7677 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2759/1.242, allocations: 5.691 MB / 0.7733 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.242, allocations: 0 / 0.7733 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009757/1.252, allocations: 3.699 MB / 0.7769 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/1.255, allocations: 304 kB / 0.7772 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.266, allocations: 5.807 MB / 0.7828 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/1.268, allocations: 1.834 MB / 0.7846 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001508/1.269, allocations: 285.8 kB / 0.7849 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006841/1.27, allocations: 175 kB / 0.7851 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/1.27, allocations: 0 / 0.7851 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.09833/1.368, allocations: 59.09 MB / 0.8428 GB, free: 124.9 MB / 0.5606 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)