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.00138/0.00138, allocations: 107 kB / 16.36 MB, free: 6.336 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.236/1.236, allocations: 222.9 MB / 240 MB, free: 4.57 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.001199/0.001199, allocations: 188.5 kB / 290.3 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.488/0.488, allocations: 91.9 MB / 432.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 83.88 kB / 0.5033 GB, free: 7.016 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3303, allocations: 71.26 MB / 0.5729 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.009178/0.3395, allocations: 13.74 MB / 0.5863 GB, free: 27.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006974/0.3465, allocations: 3.688 MB / 0.5899 GB, free: 25.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.3487, allocations: 29.88 kB / 0.5899 GB, free: 25.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.35, allocations: 0.5244 MB / 0.5904 GB, free: 24.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.3536, allocations: 1.481 MB / 0.5919 GB, free: 23.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.356, allocations: 1.362 MB / 0.5932 GB, free: 23.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0044/0.3604, allocations: 4.234 MB / 0.5973 GB, free: 20.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.3617, allocations: 0.9696 MB / 0.5983 GB, free: 20.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.3641, allocations: 1.638 MB / 0.5999 GB, free: 19.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.3664, allocations: 1.985 MB / 0.6018 GB, free: 18.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005981/0.367, allocations: 374.1 kB / 0.6022 GB, free: 18.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.368, allocations: 0.5078 MB / 0.6027 GB, free: 18.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005543/0.3686, allocations: 0.8501 MB / 0.6035 GB, free: 17.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.37, allocations: 1.765 MB / 0.6052 GB, free: 16.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005452/0.3755, allocations: 4.591 MB / 0.6097 GB, free: 14.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3755, allocations: 0 / 0.6097 GB, free: 14.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3755, allocations: 0 / 0.6097 GB, free: 14.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001827/0.3757, allocations: 0.9062 kB / 0.6097 GB, free: 14.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.01906/0.3948, allocations: 5.521 MB / 0.6151 GB, free: 12.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3948, allocations: 10.28 kB / 0.6151 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.4053, allocations: 1.634 MB / 0.6167 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004518/0.4099, allocations: 2.078 MB / 0.6187 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004268/0.4103, allocations: 495 kB / 0.6192 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004487/0.4108, allocations: 206 kB / 0.6194 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004772/0.4155, allocations: 2.476 MB / 0.6218 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.4156, allocations: 0 / 0.6218 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.4158, allocations: 82.05 kB / 0.6219 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.4158, allocations: 44.56 kB / 0.6219 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004249/0.4201, allocations: 2.28 MB / 0.6242 GB, free: 8 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.016/0.4361, allocations: 9.355 MB / 0.6333 GB, free: 12 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009475/0.4456, allocations: 4.599 MB / 0.6378 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/0.4487, allocations: 1.57 MB / 0.6393 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/0.4489, allocations: 41.95 kB / 0.6394 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003293/0.4522, allocations: 1.833 MB / 0.6412 GB, free: 7.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 3.857e-06/0.4523, allocations: 0 / 0.6412 GB, free: 7.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=245): time 0.07603/0.5283, allocations: 19.06 MB / 0.6598 GB, free: 4.457 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.5284, allocations: 239.6 kB / 0.66 GB, free: 4.172 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/0.5332, allocations: 2.648 MB / 0.6626 GB, free: 1.512 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008397/0.5341, allocations: 73.7 kB / 0.6627 GB, free: 1.434 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.5351, allocations: 1.182 MB / 0.6638 GB, free: 248 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001685/0.5368, allocations: 0.8706 MB / 0.6647 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/0.5381, allocations: 0.5854 MB / 0.6652 GB, free: 14.76 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5382, allocations: 313 kB / 0.6655 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/0.5414, allocations: 1.623 MB / 0.6671 GB, free: 12.83 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003649/0.545, allocations: 1.95 MB / 0.669 GB, free: 10.81 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04486/0.5899, allocations: 11.11 MB / 0.6799 GB, free: 15.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.59, allocations: 8 kB / 0.6799 GB, free: 15.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02255/0.6125, allocations: 7.922 MB / 0.6876 GB, free: 7.441 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.6127, allocations: 174.2 kB / 0.6878 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.6127, allocations: 4 kB / 0.6878 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.6235, allocations: 3.069 MB / 0.6908 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/0.6269, allocations: 0.6124 MB / 0.6914 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03886/0.6658, allocations: 19.44 MB / 0.7104 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004702/0.6705, allocations: 425.2 kB / 0.7108 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000645/0.6712, allocations: 116 kB / 0.7109 GB, free: 15.12 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.00143/0.6726, allocations: 0.6207 MB / 0.7115 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009007/0.6735, allocations: 312.2 kB / 0.7118 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02134/0.6949, allocations: 7.472 MB / 0.7191 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/0.6949, allocations: 24 kB / 0.7191 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6949, allocations: 0 / 0.7191 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-05/0.695, allocations: 15.95 kB / 0.7191 GB, free: 6.605 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.02902/0.724, allocations: 12.19 MB / 0.731 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/0.7241, allocations: 4.094 kB / 0.731 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.7256, allocations: 235.7 kB / 0.7313 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01149/0.7371, allocations: 3.527 MB / 0.7347 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005699/0.7377, allocations: 55.98 kB / 0.7347 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04152/0.7793, allocations: 21.51 MB / 0.7558 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7793, allocations: 4 kB / 0.7558 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02584/0.8052, allocations: 9.374 MB / 0.7649 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.8067, allocations: 456.5 kB / 0.7653 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000512/0.8073, allocations: 55.94 kB / 0.7654 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/0.8097, allocations: 239.7 kB / 0.7656 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/0.8109, allocations: 386.4 kB / 0.766 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/0.8111, allocations: 67.98 kB / 0.7661 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002702/0.8138, allocations: 1.775 MB / 0.7678 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8138, allocations: 0 / 0.7678 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003035/0.8169, allocations: 1.073 MB / 0.7688 GB, free: 2.711 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.0003745/0.8172, allocations: 173.3 kB / 0.769 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2235/1.041, allocations: 5.581 MB / 0.7745 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.041, allocations: 0.8125 kB / 0.7745 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008578/1.049, allocations: 3.7 MB / 0.7781 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.052, allocations: 294.4 kB / 0.7784 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009175/1.061, allocations: 5.733 MB / 0.784 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.062, allocations: 1.838 MB / 0.7857 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001223/1.064, allocations: 279 kB / 0.786 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006026/1.064, allocations: 173.3 kB / 0.7862 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/1.064, allocations: 0 / 0.7862 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.08368/1.148, allocations: 59.12 MB / 0.8439 GB, free: 125.2 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)