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.0009484/0.0009484, allocations: 92.47 kB / 16.02 MB, free: 80 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.267/1.267, allocations: 223.3 MB / 240 MB, free: 5.504 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.0009718/0.0009719, allocations: 179.5 kB / 291.3 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4893/0.4893, allocations: 91.92 MB / 434.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 8 kB / 0.5054 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3308, allocations: 72.46 MB / 0.5762 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.008804/0.3397, allocations: 13.75 MB / 0.5896 GB, free: 26.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00694/0.3466, allocations: 3.79 MB / 0.5933 GB, free: 24.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.3488, allocations: 30.88 kB / 0.5933 GB, free: 24.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.35, allocations: 401.7 kB / 0.5937 GB, free: 23.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.3538, allocations: 1.285 MB / 0.595 GB, free: 23.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.3562, allocations: 1.256 MB / 0.5962 GB, free: 22.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004034/0.3602, allocations: 3.927 MB / 0.6 GB, free: 20.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.3614, allocations: 0.8744 MB / 0.6009 GB, free: 19.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.3633, allocations: 1.339 MB / 0.6022 GB, free: 19.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.3651, allocations: 1.728 MB / 0.6039 GB, free: 18.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000386/0.3655, allocations: 146 kB / 0.604 GB, free: 18.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007435/0.3663, allocations: 282.2 kB / 0.6043 GB, free: 18.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004233/0.3667, allocations: 0.6091 MB / 0.6049 GB, free: 18.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.368, allocations: 1.524 MB / 0.6064 GB, free: 17.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003371/0.3713, allocations: 3.492 MB / 0.6098 GB, free: 16.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3713, allocations: 1.625 kB / 0.6098 GB, free: 16.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3714, allocations: 0 / 0.6098 GB, free: 16.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001352/0.3715, allocations: 0 / 0.6098 GB, free: 16.14 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.01643/0.3879, allocations: 4.996 MB / 0.6147 GB, free: 13.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.388, allocations: 9.984 kB / 0.6147 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.3989, allocations: 1.644 MB / 0.6163 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004967/0.4039, allocations: 2.074 MB / 0.6183 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004947/0.4045, allocations: 0.5027 MB / 0.6188 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005694/0.405, allocations: 207 kB / 0.619 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00525/0.4103, allocations: 2.565 MB / 0.6215 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.4104, allocations: 0 / 0.6215 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.4106, allocations: 79.03 kB / 0.6216 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.4106, allocations: 44.81 kB / 0.6216 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004903/0.4155, allocations: 2.372 MB / 0.6239 GB, free: 9.914 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.01716/0.4327, allocations: 9.554 MB / 0.6333 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.4433, allocations: 5.173 MB / 0.6383 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003318/0.4466, allocations: 1.664 MB / 0.6399 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.4468, allocations: 35 kB / 0.64 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003651/0.4505, allocations: 1.933 MB / 0.6419 GB, free: 9.551 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 4.258e-06/0.4505, allocations: 0 / 0.6419 GB, free: 9.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=245): time 0.08727/0.5378, allocations: 21.92 MB / 0.6633 GB, free: 3.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.5379, allocations: 235.6 kB / 0.6635 GB, free: 3.199 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005136/0.5431, allocations: 2.66 MB / 0.6661 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006432/0.5438, allocations: 69.7 kB / 0.6661 GB, free: 464 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.5448, allocations: 1.186 MB / 0.6673 GB, free: 15.26 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.5458, allocations: 0.8705 MB / 0.6682 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004566/0.5463, allocations: 300.7 kB / 0.6684 GB, free: 14.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.5464, allocations: 305.1 kB / 0.6687 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/0.5498, allocations: 1.713 MB / 0.6704 GB, free: 12.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/0.5534, allocations: 2.054 MB / 0.6724 GB, free: 9.938 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04538/0.5988, allocations: 11.77 MB / 0.6839 GB, free: 13.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.5988, allocations: 4 kB / 0.6839 GB, free: 13.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02513/0.6239, allocations: 9.035 MB / 0.6927 GB, free: 4.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.6241, allocations: 174.2 kB / 0.6929 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.6241, allocations: 4 kB / 0.6929 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01213/0.6362, allocations: 3.475 MB / 0.6963 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003379/0.6397, allocations: 0.6203 MB / 0.6969 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04088/0.6806, allocations: 19.44 MB / 0.7159 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004552/0.6852, allocations: 493 kB / 0.7164 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006255/0.6858, allocations: 120 kB / 0.7165 GB, free: 12.04 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.00155/0.6874, allocations: 0.6094 MB / 0.7171 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008318/0.6882, allocations: 316.1 kB / 0.7174 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02579/0.714, allocations: 8.706 MB / 0.7259 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.7141, allocations: 24 kB / 0.7259 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7141, allocations: 0 / 0.7259 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.187e-05/0.7141, allocations: 19.89 kB / 0.7259 GB, free: 2.285 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.03244/0.7466, allocations: 13.47 MB / 0.7391 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/0.7466, allocations: 0 / 0.7391 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.7482, allocations: 243.7 kB / 0.7393 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/0.7613, allocations: 3.938 MB / 0.7431 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005099/0.7618, allocations: 55.98 kB / 0.7432 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04315/0.805, allocations: 20.99 MB / 0.7637 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.805, allocations: 7.938 kB / 0.7637 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2703/1.075, allocations: 10.7 MB / 0.7741 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.077, allocations: 459.3 kB / 0.7746 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009624/1.078, allocations: 50.52 kB / 0.7746 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002946/1.081, allocations: 297.4 kB / 0.7749 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/1.082, allocations: 394.5 kB / 0.7753 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.082, allocations: 67.72 kB / 0.7754 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003222/1.086, allocations: 1.774 MB / 0.7771 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.02e-07/1.086, allocations: 0.875 kB / 0.7771 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003677/1.089, allocations: 1.073 MB / 0.7781 GB, free: 160.2 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.0003959/1.09, allocations: 179 kB / 0.7783 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01194/1.102, allocations: 5.911 MB / 0.7841 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.102, allocations: 0 / 0.7841 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009645/1.111, allocations: 3.927 MB / 0.7879 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/1.115, allocations: 290.8 kB / 0.7882 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/1.127, allocations: 7.124 MB / 0.7952 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/1.128, allocations: 1.838 MB / 0.7969 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.13, allocations: 174.9 kB / 0.7971 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.242e-06/1.13, allocations: 0 / 0.7971 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.08889/1.219, allocations: 82.17 MB / 0.8774 GB, free: 92.47 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)