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.001088/0.001088, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 238.9 MB, free: 5.668 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.001031/0.001031, allocations: 184 kB / 290.2 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4892/0.4892, allocations: 79.45 MB / 420.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003919, allocations: 8 kB / 0.489 GB, free: 5.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 69.51 MB / 0.5569 GB, free: 84 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.2887/0.4536, allocations: 12.09 MB / 0.5687 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008298/0.4619, allocations: 3.784 MB / 0.5724 GB, free: 32.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.4644, allocations: 29.28 kB / 0.5724 GB, free: 32.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.4657, allocations: 380.2 kB / 0.5728 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.4694, allocations: 1.33 MB / 0.5741 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.4717, allocations: 1.013 MB / 0.5751 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003889/0.4756, allocations: 2.522 MB / 0.5775 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.4767, allocations: 0.7509 MB / 0.5782 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.4785, allocations: 1.333 MB / 0.5795 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.4801, allocations: 1.644 MB / 0.5812 GB, free: 27.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000299/0.4804, allocations: 147 kB / 0.5813 GB, free: 27.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006415/0.4811, allocations: 262.2 kB / 0.5815 GB, free: 27.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004286/0.4815, allocations: 0.5885 MB / 0.5821 GB, free: 27.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004647/0.482, allocations: 0.5535 MB / 0.5827 GB, free: 27.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.4844, allocations: 3.414 MB / 0.586 GB, free: 26.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4845, allocations: 0 / 0.586 GB, free: 26.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4845, allocations: 5.219 kB / 0.586 GB, free: 26.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.514e-05/0.4845, allocations: 0 / 0.586 GB, free: 26.17 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.01498/0.4995, allocations: 5.031 MB / 0.5909 GB, free: 23.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4996, allocations: 9.906 kB / 0.5909 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/0.5104, allocations: 1.646 MB / 0.5925 GB, free: 23.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005757/0.5161, allocations: 1.963 MB / 0.5944 GB, free: 22.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005801/0.5167, allocations: 0.4964 MB / 0.5949 GB, free: 22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000882/0.5176, allocations: 205 kB / 0.5951 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006689/0.5244, allocations: 2.541 MB / 0.5976 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.5244, allocations: 0 / 0.5976 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003518/0.5248, allocations: 81.77 kB / 0.5977 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.5248, allocations: 45.06 kB / 0.5977 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005425/0.5303, allocations: 2.365 MB / 0.6 GB, free: 20.06 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.02084/0.5511, allocations: 9.846 MB / 0.6097 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.5626, allocations: 5.156 MB / 0.6147 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003213/0.563, allocations: 40.28 kB / 0.6147 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004527/0.5675, allocations: 1.914 MB / 0.6166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 1.544e-05/0.5675, allocations: 0 / 0.6166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=245): time 0.0844/0.652, allocations: 21.74 MB / 0.6378 GB, free: 9.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.6521, allocations: 235.6 kB / 0.6381 GB, free: 9.133 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005696/0.6578, allocations: 2.633 MB / 0.6406 GB, free: 6.484 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008675/0.6587, allocations: 73.69 kB / 0.6407 GB, free: 6.406 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.66, allocations: 1.186 MB / 0.6419 GB, free: 5.211 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001684/0.6617, allocations: 0.8627 MB / 0.6427 GB, free: 4.336 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007868/0.6625, allocations: 68 kB / 0.6428 GB, free: 4.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003296/0.6628, allocations: 433 kB / 0.6432 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004263/0.6671, allocations: 1.705 MB / 0.6448 GB, free: 2.133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004355/0.6715, allocations: 2.021 MB / 0.6468 GB, free: 44 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004557/0.6761, allocations: 2.014 MB / 0.6488 GB, free: 13.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.6761, allocations: 0 / 0.6488 GB, free: 13.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02687/0.703, allocations: 9.028 MB / 0.6576 GB, free: 4.871 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002543/0.7033, allocations: 170.3 kB / 0.6578 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/0.7034, allocations: 4 kB / 0.6578 GB, free: 4.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/0.7168, allocations: 3.476 MB / 0.6612 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00359/0.7205, allocations: 0.6124 MB / 0.6618 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04555/0.7661, allocations: 20.17 MB / 0.6814 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005276/0.7714, allocations: 495 kB / 0.6819 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/0.7724, allocations: 123.9 kB / 0.682 GB, free: 11.42 MB / 494.1 MB 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 gen3.AVR.firstOrder2.y:VARIABLE(flow=false start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "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 () * 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 (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.002657/0.7751, allocations: 0.6109 MB / 0.6826 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/0.7767, allocations: 324 kB / 0.6829 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02625/0.8029, allocations: 8.692 MB / 0.6914 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.951e-05/0.803, allocations: 24 kB / 0.6915 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.803, allocations: 0 / 0.6915 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.377e-05/0.8031, allocations: 15.95 kB / 0.6915 GB, free: 1.691 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.03722/0.8403, allocations: 13.44 MB / 0.7046 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/0.8404, allocations: 3.984 kB / 0.7046 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.842, allocations: 235.7 kB / 0.7048 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01315/0.8552, allocations: 3.934 MB / 0.7087 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008535/0.8561, allocations: 63.94 kB / 0.7087 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04788/0.904, allocations: 21.89 MB / 0.7301 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.9041, allocations: 6.188 kB / 0.7301 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03207/0.9361, allocations: 10.73 MB / 0.7406 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/0.9378, allocations: 468.5 kB / 0.741 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/0.9393, allocations: 52 kB / 0.7411 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004106/0.9434, allocations: 295.7 kB / 0.7414 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001827/0.9453, allocations: 394.3 kB / 0.7417 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005221/0.9458, allocations: 69.3 kB / 0.7418 GB, free: 13.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004184/0.95, allocations: 1.751 MB / 0.7435 GB, free: 11.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9501, allocations: 0 / 0.7435 GB, free: 11.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005796/0.9559, allocations: 1.073 MB / 0.7446 GB, free: 10.36 MB / 0.545 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 (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.0008452/0.9567, allocations: 181.8 kB / 0.7447 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.015/0.9717, allocations: 5.894 MB / 0.7505 GB, free: 4.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9718, allocations: 0 / 0.7505 GB, free: 4.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01063/0.9824, allocations: 3.929 MB / 0.7543 GB, free: 156 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.9856, allocations: 255.8 kB / 0.7546 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.9989, allocations: 6.786 MB / 0.7612 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/1.001, allocations: 1.893 MB / 0.7631 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001358/1.002, allocations: 269.2 kB / 0.7633 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008012/1.003, allocations: 171.4 kB / 0.7635 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of SimCode: time 1.332e-06/1.003, allocations: 0 / 0.7635 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of Templates: time 0.3104/1.313, allocations: 51.71 MB / 0.814 GB, free: 153.3 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)