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.004662/0.004662, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.38/1.38, allocations: 222.9 MB / 239.4 MB, free: 4.566 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.001276/0.001276, allocations: 188.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5281/0.5281, allocations: 91.89 MB / 431.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 79.23 kB / 0.5727 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1506, allocations: 71.28 MB / 0.6423 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01264/0.1633, allocations: 13.74 MB / 0.6557 GB, free: 5.824 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00816/0.1715, allocations: 3.673 MB / 0.6593 GB, free: 2.141 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/0.1744, allocations: 27.94 kB / 0.6593 GB, free: 2.113 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.1759, allocations: 0.5264 MB / 0.6599 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00397/0.1799, allocations: 1.495 MB / 0.6613 GB, free: 88 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.1826, allocations: 1.355 MB / 0.6626 GB, free: 14.74 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004766/0.1874, allocations: 4.229 MB / 0.6668 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.1886, allocations: 0.9652 MB / 0.6677 GB, free: 9.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.191, allocations: 1.634 MB / 0.6693 GB, free: 7.832 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.1931, allocations: 1.987 MB / 0.6712 GB, free: 5.836 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004719/0.1935, allocations: 376 kB / 0.6716 GB, free: 5.469 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000899/0.1944, allocations: 0.5233 MB / 0.6721 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006557/0.1951, allocations: 0.8405 MB / 0.6729 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001459/0.1966, allocations: 1.768 MB / 0.6747 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004139/0.2007, allocations: 4.586 MB / 0.6791 GB, free: 13.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2007, allocations: 0 / 0.6791 GB, free: 13.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2008, allocations: 0 / 0.6791 GB, free: 13.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.111e-05/0.2008, allocations: 4 kB / 0.6791 GB, free: 13.72 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.01673/0.2175, allocations: 5.516 MB / 0.6845 GB, free: 8.094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2176, allocations: 8.031 kB / 0.6845 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.2279, allocations: 1.639 MB / 0.6861 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/0.2318, allocations: 2.077 MB / 0.6882 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004747/0.2322, allocations: 498.4 kB / 0.6886 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/0.2326, allocations: 211.9 kB / 0.6888 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004716/0.2373, allocations: 2.468 MB / 0.6913 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.2374, allocations: 7.875 kB / 0.6913 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/0.2376, allocations: 76 kB / 0.6913 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/0.2376, allocations: 44 kB / 0.6914 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00435/0.242, allocations: 2.279 MB / 0.6936 GB, free: 14.64 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.01568/0.2577, allocations: 9.361 MB / 0.7027 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.2679, allocations: 4.591 MB / 0.7072 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002843/0.2708, allocations: 1.57 MB / 0.7088 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.2709, allocations: 38.98 kB / 0.7088 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003262/0.2742, allocations: 1.833 MB / 0.7106 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=245): time 3.827e-06/0.2742, allocations: 0 / 0.7106 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=245): time 0.08376/0.358, allocations: 19.06 MB / 0.7292 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.3582, allocations: 243.6 kB / 0.7294 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005065/0.3632, allocations: 2.648 MB / 0.732 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006054/0.3639, allocations: 73.7 kB / 0.7321 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.3649, allocations: 1.182 MB / 0.7332 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/0.3662, allocations: 0.8705 MB / 0.7341 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001755/0.368, allocations: 0.5854 MB / 0.7347 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.3681, allocations: 309.1 kB / 0.735 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00354/0.3716, allocations: 1.615 MB / 0.7365 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003749/0.3754, allocations: 1.95 MB / 0.7384 GB, free: 15.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04502/0.4204, allocations: 11.13 MB / 0.7493 GB, free: 4.379 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.118e-05/0.4205, allocations: 4 kB / 0.7493 GB, free: 4.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02603/0.4465, allocations: 7.918 MB / 0.757 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.4467, allocations: 178.2 kB / 0.7572 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.4467, allocations: 4 kB / 0.7572 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/0.4584, allocations: 3.069 MB / 0.7602 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003166/0.4616, allocations: 0.6163 MB / 0.7608 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3247/0.7864, allocations: 19.43 MB / 0.7798 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00404/0.7904, allocations: 420.4 kB / 0.7802 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/0.7908, allocations: 126 kB / 0.7803 GB, free: 107 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.001131/0.7919, allocations: 0.6051 MB / 0.7809 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005073/0.7924, allocations: 317.5 kB / 0.7812 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02233/0.8148, allocations: 7.467 MB / 0.7885 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/0.8148, allocations: 27.53 kB / 0.7885 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8148, allocations: 0 / 0.7885 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.474e-05/0.8149, allocations: 15.42 kB / 0.7885 GB, free: 104.6 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.0263/0.8412, allocations: 12.19 MB / 0.8005 GB, free: 99.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.8412, allocations: 0 / 0.8005 GB, free: 99.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.8424, allocations: 233.5 kB / 0.8007 GB, free: 99.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01081/0.8533, allocations: 3.533 MB / 0.8041 GB, free: 97.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002266/0.8535, allocations: 63.14 kB / 0.8042 GB, free: 97.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03765/0.8912, allocations: 21.51 MB / 0.8252 GB, free: 75.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8912, allocations: 7.922 kB / 0.8252 GB, free: 75.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02429/0.9155, allocations: 9.367 MB / 0.8343 GB, free: 66.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008728/0.9164, allocations: 461 kB / 0.8348 GB, free: 65.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003858/0.9168, allocations: 48 kB / 0.8348 GB, free: 65.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002317/0.9191, allocations: 237.8 kB / 0.8351 GB, free: 65.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/0.9202, allocations: 390.4 kB / 0.8354 GB, free: 65.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.9204, allocations: 67.97 kB / 0.8355 GB, free: 65.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002193/0.9226, allocations: 1.771 MB / 0.8372 GB, free: 63.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9226, allocations: 0 / 0.8372 GB, free: 63.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002678/0.9252, allocations: 1.071 MB / 0.8383 GB, free: 62.25 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.000346/0.9256, allocations: 186.8 kB / 0.8384 GB, free: 62.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01121/0.9368, allocations: 5.58 MB / 0.8439 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9368, allocations: 4 kB / 0.8439 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007937/0.9448, allocations: 3.693 MB / 0.8475 GB, free: 52.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.9469, allocations: 306.4 kB / 0.8478 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009084/0.956, allocations: 5.74 MB / 0.8534 GB, free: 46.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.957, allocations: 1.831 MB / 0.8552 GB, free: 44.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001029/0.958, allocations: 271.3 kB / 0.8555 GB, free: 44.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005499/0.9586, allocations: 179.4 kB / 0.8556 GB, free: 44.25 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.9586, allocations: 0 / 0.8556 GB, free: 44.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.08996/1.049, allocations: 59.78 MB / 0.914 GB, free: 0.5781 MB / 0.5762 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)