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.006771/0.006771, allocations: 100.3 kB / 15.87 MB, free: 5.871 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.314/1.314, allocations: 222.9 MB / 239.5 MB, free: 4.793 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.001386/0.001386, allocations: 191.6 kB / 289.8 MB, free: 2.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5056/0.5056, allocations: 91.89 MB / 431.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 71.89 kB / 0.5019 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.322, allocations: 71.26 MB / 0.5714 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.009288/0.3313, allocations: 14.41 MB / 0.5855 GB, free: 27.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006422/0.3378, allocations: 3.794 MB / 0.5892 GB, free: 24.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.3398, allocations: 29.81 kB / 0.5893 GB, free: 24.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.3409, allocations: 412.9 kB / 0.5896 GB, free: 24.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.3442, allocations: 1.291 MB / 0.5909 GB, free: 23.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.3465, allocations: 1.267 MB / 0.5921 GB, free: 22.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004035/0.3506, allocations: 3.932 MB / 0.596 GB, free: 20.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.3519, allocations: 0.8871 MB / 0.5968 GB, free: 20.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.3542, allocations: 1.42 MB / 0.5982 GB, free: 19.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.3568, allocations: 1.818 MB / 0.6 GB, free: 18.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009944/0.3578, allocations: 182.2 kB / 0.6002 GB, free: 18.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.3594, allocations: 319.4 kB / 0.6005 GB, free: 18.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.3605, allocations: 0.6671 MB / 0.6011 GB, free: 18.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002803/0.3633, allocations: 1.562 MB / 0.6027 GB, free: 17.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004206/0.3676, allocations: 3.601 MB / 0.6062 GB, free: 15.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3676, allocations: 4 kB / 0.6062 GB, free: 15.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3676, allocations: 1.062 kB / 0.6062 GB, free: 15.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002049/0.3678, allocations: 0 / 0.6062 GB, free: 15.7 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.01994/0.3878, allocations: 5.518 MB / 0.6116 GB, free: 13.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3878, allocations: 8.25 kB / 0.6116 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.3989, allocations: 1.635 MB / 0.6132 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004805/0.4037, allocations: 2.072 MB / 0.6152 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/0.4042, allocations: 495 kB / 0.6157 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004516/0.4046, allocations: 206.5 kB / 0.6159 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/0.4098, allocations: 2.471 MB / 0.6183 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/0.4098, allocations: 1.062 kB / 0.6183 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.4101, allocations: 77.48 kB / 0.6184 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.4101, allocations: 45.25 kB / 0.6184 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/0.4147, allocations: 2.281 MB / 0.6206 GB, free: 9.109 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.0168/0.4316, allocations: 9.424 MB / 0.6298 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009449/0.441, allocations: 4.598 MB / 0.6343 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/0.4443, allocations: 1.578 MB / 0.6359 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.4445, allocations: 38.92 kB / 0.6359 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003556/0.4481, allocations: 1.843 MB / 0.6377 GB, free: 10.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 4.478e-06/0.4481, allocations: 0 / 0.6377 GB, free: 10.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=245): time 0.08101/0.5291, allocations: 19.05 MB / 0.6563 GB, free: 6.953 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.5293, allocations: 231.7 kB / 0.6565 GB, free: 6.676 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/0.5334, allocations: 2.652 MB / 0.6591 GB, free: 4.012 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000632/0.5341, allocations: 77.69 kB / 0.6592 GB, free: 3.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000879/0.5349, allocations: 1.178 MB / 0.6603 GB, free: 2.742 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.536, allocations: 0.8705 MB / 0.6612 GB, free: 1.859 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.5371, allocations: 0.5893 MB / 0.6618 GB, free: 1.262 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.5372, allocations: 309.1 kB / 0.6621 GB, free: 0.957 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/0.5403, allocations: 1.627 MB / 0.6637 GB, free: 15.33 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003297/0.5436, allocations: 1.95 MB / 0.6656 GB, free: 13.31 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04448/0.5881, allocations: 11.12 MB / 0.6764 GB, free: 1.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/0.5882, allocations: 4 kB / 0.6764 GB, free: 1.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02456/0.6127, allocations: 7.933 MB / 0.6842 GB, free: 9.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.6129, allocations: 166.2 kB / 0.6843 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.6129, allocations: 4 kB / 0.6843 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/0.624, allocations: 3.073 MB / 0.6873 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/0.6271, allocations: 0.6125 MB / 0.6879 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03717/0.6643, allocations: 17.97 MB / 0.7055 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/0.6686, allocations: 429.1 kB / 0.7059 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003631/0.669, allocations: 120 kB / 0.706 GB, free: 3.102 MB / 0.4981 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.001267/0.6703, allocations: 0.6117 MB / 0.7066 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006401/0.6709, allocations: 312.2 kB / 0.7069 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02267/0.6936, allocations: 7.484 MB / 0.7142 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/0.6937, allocations: 24 kB / 0.7142 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6937, allocations: 4 kB / 0.7142 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-05/0.6937, allocations: 15.94 kB / 0.7143 GB, free: 10.57 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.02948/0.7232, allocations: 12.21 MB / 0.7262 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/0.7233, allocations: 0 / 0.7262 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.7248, allocations: 231.7 kB / 0.7264 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01211/0.7369, allocations: 3.539 MB / 0.7299 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005238/0.7375, allocations: 55.98 kB / 0.7299 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03964/0.7771, allocations: 19.62 MB / 0.7491 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.7772, allocations: 11.88 kB / 0.7491 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02675/0.8039, allocations: 9.355 MB / 0.7582 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.8052, allocations: 460.5 kB / 0.7587 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007145/0.8059, allocations: 48 kB / 0.7587 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/0.8086, allocations: 243.7 kB / 0.7589 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/0.8099, allocations: 382.3 kB / 0.7593 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/0.8101, allocations: 67.98 kB / 0.7594 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002844/0.8129, allocations: 1.775 MB / 0.7611 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.8129, allocations: 0 / 0.7611 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003358/0.8163, allocations: 1.065 MB / 0.7621 GB, free: 8.578 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.0004158/0.8167, allocations: 181.2 kB / 0.7623 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01205/0.8288, allocations: 5.518 MB / 0.7677 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.8288, allocations: 4.188 kB / 0.7677 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2058/1.035, allocations: 3.607 MB / 0.7712 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/1.037, allocations: 293.6 kB / 0.7715 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009889/1.047, allocations: 6.92 MB / 0.7783 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.048, allocations: 1.839 MB / 0.7801 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009583/1.049, allocations: 174.7 kB / 0.7802 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/1.049, allocations: 0 / 0.7802 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.07989/1.129, allocations: 82.45 MB / 0.8607 GB, free: 104.7 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)