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.001253/0.001253, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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 MB, free: 4.715 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.001248/0.001248, allocations: 184.5 kB / 289.2 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5121/0.5121, allocations: 91.89 MB / 431.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002354, allocations: 71.89 kB / 0.5014 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.425, allocations: 71.26 MB / 0.571 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01151/0.4366, allocations: 14.41 MB / 0.585 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008007/0.4447, allocations: 3.781 MB / 0.5887 GB, free: 24.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003629/0.4484, allocations: 30.06 kB / 0.5888 GB, free: 24.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.4506, allocations: 404.6 kB / 0.5891 GB, free: 24.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006243/0.4569, allocations: 1.283 MB / 0.5904 GB, free: 23.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.4606, allocations: 1.271 MB / 0.5916 GB, free: 22.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007334/0.4679, allocations: 4.214 MB / 0.5958 GB, free: 20.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.47, allocations: 0.9627 MB / 0.5967 GB, free: 19.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.4731, allocations: 1.648 MB / 0.5983 GB, free: 18.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/0.4763, allocations: 1.991 MB / 0.6002 GB, free: 17.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.4778, allocations: 374.9 kB / 0.6006 GB, free: 17.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.4799, allocations: 0.5082 MB / 0.6011 GB, free: 17.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001394/0.4813, allocations: 0.8505 MB / 0.6019 GB, free: 17.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.4847, allocations: 1.765 MB / 0.6037 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006692/0.4914, allocations: 4.529 MB / 0.6081 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4914, allocations: 1.156 kB / 0.6081 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4915, allocations: 0 / 0.6081 GB, free: 13.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002244/0.4917, allocations: 4 kB / 0.6081 GB, free: 13.96 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.02165/0.5133, allocations: 5.521 MB / 0.6135 GB, free: 11.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5134, allocations: 10.64 kB / 0.6135 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.5247, allocations: 1.64 MB / 0.6151 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005841/0.5306, allocations: 2.07 MB / 0.6171 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005212/0.5311, allocations: 496.2 kB / 0.6176 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008847/0.5321, allocations: 204.8 kB / 0.6178 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006579/0.5386, allocations: 2.469 MB / 0.6202 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/0.5387, allocations: 3.938 kB / 0.6202 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.539, allocations: 78.03 kB / 0.6203 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/0.5391, allocations: 45.88 kB / 0.6203 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005124/0.5442, allocations: 2.276 MB / 0.6225 GB, free: 7.363 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.01822/0.5624, allocations: 9.426 MB / 0.6317 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.5729, allocations: 4.588 MB / 0.6362 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003448/0.5764, allocations: 1.578 MB / 0.6378 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003671/0.5768, allocations: 41.97 kB / 0.6378 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004194/0.581, allocations: 1.835 MB / 0.6396 GB, free: 7.613 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 6.572e-06/0.581, allocations: 4 kB / 0.6396 GB, free: 7.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=245): time 0.08657/0.6676, allocations: 19.05 MB / 0.6582 GB, free: 4.414 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.6678, allocations: 239.6 kB / 0.6584 GB, free: 4.129 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005348/0.6731, allocations: 2.652 MB / 0.661 GB, free: 1.465 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008153/0.674, allocations: 77.69 kB / 0.6611 GB, free: 1.383 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.6751, allocations: 1.186 MB / 0.6623 GB, free: 192 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001526/0.6767, allocations: 0.8627 MB / 0.6631 GB, free: 15.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002499/0.6792, allocations: 0.5893 MB / 0.6637 GB, free: 14.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.6793, allocations: 309.1 kB / 0.664 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00368/0.683, allocations: 1.619 MB / 0.6655 GB, free: 12.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003896/0.6869, allocations: 1.962 MB / 0.6675 GB, free: 10.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04707/0.734, allocations: 11.15 MB / 0.6784 GB, free: 15.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.734, allocations: 0 / 0.6784 GB, free: 15.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02709/0.7611, allocations: 7.93 MB / 0.6861 GB, free: 7.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.7613, allocations: 170.2 kB / 0.6863 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.7614, allocations: 8.031 kB / 0.6863 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01223/0.7736, allocations: 3.08 MB / 0.6893 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003647/0.7773, allocations: 0.6163 MB / 0.6899 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04531/0.8226, allocations: 19.45 MB / 0.7089 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/0.8283, allocations: 421.2 kB / 0.7093 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/0.8294, allocations: 123.9 kB / 0.7094 GB, free: 15.01 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.002691/0.8321, allocations: 0.6135 MB / 0.71 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001599/0.8337, allocations: 308.2 kB / 0.7103 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0258/0.8595, allocations: 7.472 MB / 0.7176 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.652e-05/0.8596, allocations: 27.98 kB / 0.7176 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.8596, allocations: 3.938 kB / 0.7176 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.014e-05/0.8597, allocations: 15.95 kB / 0.7176 GB, free: 6.488 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.03499/0.8947, allocations: 12.22 MB / 0.7296 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/0.8948, allocations: 0 / 0.7296 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.8964, allocations: 235.7 kB / 0.7298 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01303/0.9095, allocations: 3.543 MB / 0.7332 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008019/0.9103, allocations: 59.97 kB / 0.7333 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0467/0.9571, allocations: 21.54 MB / 0.7543 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.9571, allocations: 0 / 0.7543 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02912/0.9862, allocations: 9.359 MB / 0.7635 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.9876, allocations: 464.4 kB / 0.7639 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/0.9889, allocations: 51.94 kB / 0.764 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/0.9923, allocations: 239.7 kB / 0.7642 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001603/0.9939, allocations: 386.5 kB / 0.7646 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000411/0.9943, allocations: 75.97 kB / 0.7646 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003471/0.9978, allocations: 1.775 MB / 0.7664 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9978, allocations: 0 / 0.7664 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004423/1.002, allocations: 1.061 MB / 0.7674 GB, free: 2.535 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.0006248/1.003, allocations: 192.6 kB / 0.7676 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2375/1.24, allocations: 5.686 MB / 0.7731 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.24, allocations: 4.969 kB / 0.7731 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008601/1.249, allocations: 3.695 MB / 0.7768 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/1.252, allocations: 292.6 kB / 0.777 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.262, allocations: 6.873 MB / 0.7837 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.263, allocations: 1.84 MB / 0.7855 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00139/1.265, allocations: 279.2 kB / 0.7858 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000633/1.265, allocations: 171.6 kB / 0.786 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/1.265, allocations: 0 / 0.786 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.08809/1.353, allocations: 57.45 MB / 0.8421 GB, free: 125.4 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)