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.004756/0.004756, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.388/1.388, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001449/0.001449, allocations: 188.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5154/0.5154, allocations: 91.89 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 77.53 kB / 0.5727 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1614, allocations: 71.29 MB / 0.6423 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01277/0.1742, allocations: 13.73 MB / 0.6557 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008183/0.1824, allocations: 3.677 MB / 0.6593 GB, free: 2.129 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.1853, allocations: 27.94 kB / 0.6593 GB, free: 2.102 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.1869, allocations: 0.5264 MB / 0.6599 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004769/0.1917, allocations: 1.483 MB / 0.6613 GB, free: 88 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.1948, allocations: 1.367 MB / 0.6626 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005581/0.2004, allocations: 4.233 MB / 0.6668 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.2017, allocations: 0.9613 MB / 0.6677 GB, free: 9.461 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.2043, allocations: 1.634 MB / 0.6693 GB, free: 7.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.2064, allocations: 1.983 MB / 0.6712 GB, free: 5.828 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004897/0.2069, allocations: 372 kB / 0.6716 GB, free: 5.465 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009052/0.2079, allocations: 0.5233 MB / 0.6721 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006605/0.2085, allocations: 0.8482 MB / 0.6729 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.21, allocations: 1.756 MB / 0.6747 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004656/0.2147, allocations: 4.611 MB / 0.6792 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2147, allocations: 0 / 0.6792 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2147, allocations: 0 / 0.6792 GB, free: 13.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.884e-05/0.2148, allocations: 0 / 0.6792 GB, free: 13.7 MB / 494.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.01686/0.2317, allocations: 5.635 MB / 0.6847 GB, free: 7.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2317, allocations: 12.03 kB / 0.6847 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.2419, allocations: 1.648 MB / 0.6863 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00418/0.2462, allocations: 2.103 MB / 0.6883 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004647/0.2467, allocations: 0.4984 MB / 0.6888 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/0.247, allocations: 204 kB / 0.689 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004654/0.2517, allocations: 2.472 MB / 0.6914 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.2517, allocations: 0 / 0.6914 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.2519, allocations: 72 kB / 0.6915 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.252, allocations: 44 kB / 0.6915 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004467/0.2564, allocations: 2.283 MB / 0.6938 GB, free: 14.46 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.01627/0.2727, allocations: 9.378 MB / 0.7029 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.2829, allocations: 4.595 MB / 0.7074 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002986/0.2859, allocations: 1.57 MB / 0.7089 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.2861, allocations: 35 kB / 0.709 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003199/0.2894, allocations: 1.834 MB / 0.7108 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=245): time 4.117e-06/0.2894, allocations: 4 kB / 0.7108 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=245): time 0.08029/0.3697, allocations: 19.08 MB / 0.7294 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.3698, allocations: 235.6 kB / 0.7296 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004255/0.3741, allocations: 2.653 MB / 0.7322 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006453/0.3747, allocations: 73.7 kB / 0.7323 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009011/0.3756, allocations: 1.199 MB / 0.7335 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001107/0.3768, allocations: 0.9102 MB / 0.7343 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.3778, allocations: 0.5856 MB / 0.7349 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.3779, allocations: 309.1 kB / 0.7352 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/0.3811, allocations: 1.619 MB / 0.7368 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003455/0.3846, allocations: 1.95 MB / 0.7387 GB, free: 15.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04397/0.4286, allocations: 11.12 MB / 0.7496 GB, free: 4.121 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.4286, allocations: 4 kB / 0.7496 GB, free: 4.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02376/0.4524, allocations: 7.939 MB / 0.7573 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.4526, allocations: 175.2 kB / 0.7575 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.4526, allocations: 4 kB / 0.7575 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01135/0.464, allocations: 3.061 MB / 0.7605 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003221/0.4672, allocations: 0.6202 MB / 0.7611 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3685/0.8358, allocations: 19.45 MB / 0.7801 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/0.8401, allocations: 436.6 kB / 0.7805 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005375/0.8407, allocations: 118.2 kB / 0.7806 GB, free: 106.6 MB / 0.5606 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.001339/0.842, allocations: 0.6234 MB / 0.7812 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008888/0.8429, allocations: 330 kB / 0.7815 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02229/0.8652, allocations: 7.47 MB / 0.7888 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/0.8653, allocations: 23.56 kB / 0.7888 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.8653, allocations: 3.938 kB / 0.7889 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.187e-05/0.8654, allocations: 11.44 kB / 0.7889 GB, free: 104.2 MB / 0.5606 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.027/0.8924, allocations: 12.2 MB / 0.8008 GB, free: 98.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/0.8924, allocations: 0 / 0.8008 GB, free: 98.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.8939, allocations: 236.2 kB / 0.801 GB, free: 98.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0111/0.905, allocations: 3.534 MB / 0.8045 GB, free: 97.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005425/0.9056, allocations: 58.41 kB / 0.8045 GB, free: 97.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03796/0.9435, allocations: 21.54 MB / 0.8255 GB, free: 75.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.9436, allocations: 7.875 kB / 0.8255 GB, free: 75.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02437/0.968, allocations: 9.387 MB / 0.8347 GB, free: 65.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009358/0.9689, allocations: 475.7 kB / 0.8352 GB, free: 65.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004775/0.9694, allocations: 48 kB / 0.8352 GB, free: 65.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/0.9717, allocations: 235.7 kB / 0.8354 GB, free: 65.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/0.9729, allocations: 394.4 kB / 0.8358 GB, free: 64.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/0.973, allocations: 63.98 kB / 0.8359 GB, free: 64.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002292/0.9753, allocations: 1.771 MB / 0.8376 GB, free: 62.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9753, allocations: 4 kB / 0.8376 GB, free: 62.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002643/0.978, allocations: 1.069 MB / 0.8387 GB, free: 61.77 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.0003105/0.9783, allocations: 183.8 kB / 0.8388 GB, free: 61.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0109/0.9892, allocations: 5.607 MB / 0.8443 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.9892, allocations: 4 kB / 0.8443 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007992/0.9972, allocations: 3.711 MB / 0.8479 GB, free: 52.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.9993, allocations: 297.5 kB / 0.8482 GB, free: 51.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008491/1.008, allocations: 5.842 MB / 0.8539 GB, free: 45.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/1.009, allocations: 1.839 MB / 0.8557 GB, free: 44.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009505/1.01, allocations: 275.3 kB / 0.856 GB, free: 43.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005567/1.01, allocations: 175.3 kB / 0.8561 GB, free: 43.62 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/1.01, allocations: 0 / 0.8561 GB, free: 43.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.07528/1.086, allocations: 59.8 MB / 0.9145 GB, free: 15.94 MB / 0.5919 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)