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.00805/0.00805, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001401/0.001401, allocations: 192.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5461/0.5461, allocations: 91.91 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 76.55 kB / 0.5727 GB, free: 33.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1448, allocations: 71.28 MB / 0.6423 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01292/0.1577, allocations: 13.74 MB / 0.6557 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008542/0.1663, allocations: 3.677 MB / 0.6593 GB, free: 2.027 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003476/0.1698, allocations: 24 kB / 0.6593 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.1719, allocations: 0.5302 MB / 0.6599 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006039/0.178, allocations: 1.606 MB / 0.6614 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.1815, allocations: 1.363 MB / 0.6628 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006742/0.1883, allocations: 4.225 MB / 0.6669 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.1905, allocations: 0.9652 MB / 0.6678 GB, free: 9.242 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.1938, allocations: 1.646 MB / 0.6694 GB, free: 7.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.1973, allocations: 1.983 MB / 0.6714 GB, free: 5.598 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.1989, allocations: 372 kB / 0.6717 GB, free: 5.234 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.2006, allocations: 0.5233 MB / 0.6722 GB, free: 4.711 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009264/0.2016, allocations: 0.8482 MB / 0.6731 GB, free: 3.859 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002549/0.2041, allocations: 1.764 MB / 0.6748 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005595/0.2097, allocations: 4.586 MB / 0.6793 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2098, allocations: 0 / 0.6793 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2098, allocations: 0 / 0.6793 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001315/0.2099, allocations: 0 / 0.6793 GB, free: 13.48 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.01872/0.2287, allocations: 5.52 MB / 0.6847 GB, free: 7.855 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.2287, allocations: 8.031 kB / 0.6847 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.2392, allocations: 1.635 MB / 0.6863 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004935/0.2442, allocations: 2.081 MB / 0.6883 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005324/0.2448, allocations: 498.4 kB / 0.6888 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005964/0.2454, allocations: 203.9 kB / 0.689 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00522/0.2506, allocations: 2.476 MB / 0.6914 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.2507, allocations: 0 / 0.6914 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/0.2509, allocations: 76 kB / 0.6915 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.2509, allocations: 51.94 kB / 0.6915 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/0.2556, allocations: 2.275 MB / 0.6937 GB, free: 14.41 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.0186/0.2742, allocations: 9.365 MB / 0.7029 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/0.2847, allocations: 4.592 MB / 0.7074 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/0.2883, allocations: 1.57 MB / 0.7089 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.2886, allocations: 41.92 kB / 0.7089 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004151/0.2928, allocations: 1.831 MB / 0.7107 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=245): time 6.562e-06/0.2928, allocations: 0 / 0.7107 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=245): time 0.08424/0.377, allocations: 19.06 MB / 0.7293 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.3772, allocations: 235.6 kB / 0.7296 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005385/0.3826, allocations: 2.652 MB / 0.7321 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007966/0.3834, allocations: 69.7 kB / 0.7322 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.3847, allocations: 1.189 MB / 0.7334 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/0.3863, allocations: 0.8666 MB / 0.7342 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002466/0.3888, allocations: 0.5854 MB / 0.7348 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.3889, allocations: 305.1 kB / 0.7351 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003865/0.3928, allocations: 1.627 MB / 0.7367 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004274/0.3971, allocations: 1.946 MB / 0.7386 GB, free: 15.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04642/0.4435, allocations: 11.12 MB / 0.7494 GB, free: 4.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/0.4436, allocations: 0 / 0.7494 GB, free: 4.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02657/0.4701, allocations: 7.926 MB / 0.7572 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.4703, allocations: 174.3 kB / 0.7573 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.4704, allocations: 8 kB / 0.7573 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/0.4821, allocations: 3.069 MB / 0.7603 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/0.4855, allocations: 0.6085 MB / 0.7609 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3835/0.869, allocations: 19.43 MB / 0.7799 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00479/0.8739, allocations: 429 kB / 0.7803 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008389/0.8748, allocations: 117.1 kB / 0.7804 GB, free: 106.7 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.001884/0.8767, allocations: 0.6165 MB / 0.781 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/0.8777, allocations: 313 kB / 0.7813 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02323/0.901, allocations: 7.472 MB / 0.7886 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-05/0.9011, allocations: 23.69 kB / 0.7887 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.9011, allocations: 0 / 0.7887 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.269e-05/0.9012, allocations: 14.02 kB / 0.7887 GB, free: 104.3 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.02946/0.9306, allocations: 12.19 MB / 0.8006 GB, free: 98.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-05/0.9307, allocations: 3.281 kB / 0.8006 GB, free: 98.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.9323, allocations: 233 kB / 0.8008 GB, free: 98.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01148/0.9438, allocations: 3.532 MB / 0.8042 GB, free: 97.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006937/0.9445, allocations: 54.83 kB / 0.8043 GB, free: 97.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03966/0.9842, allocations: 21.52 MB / 0.8253 GB, free: 75.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9842, allocations: 3.938 kB / 0.8253 GB, free: 75.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02591/1.01, allocations: 9.362 MB / 0.8345 GB, free: 66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.012, allocations: 460.2 kB / 0.8349 GB, free: 65.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/1.013, allocations: 50.08 kB / 0.8349 GB, free: 65.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/1.016, allocations: 239.7 kB / 0.8352 GB, free: 65.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001384/1.018, allocations: 398.4 kB / 0.8356 GB, free: 64.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/1.018, allocations: 63.98 kB / 0.8356 GB, free: 64.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002761/1.021, allocations: 1.771 MB / 0.8373 GB, free: 63.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.021, allocations: 4 kB / 0.8373 GB, free: 63.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004146/1.025, allocations: 1.067 MB / 0.8384 GB, free: 61.98 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.0004724/1.025, allocations: 178.9 kB / 0.8386 GB, free: 61.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01176/1.037, allocations: 5.592 MB / 0.844 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.037, allocations: 3.938 kB / 0.844 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008522/1.046, allocations: 3.693 MB / 0.8476 GB, free: 52.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/1.048, allocations: 310.5 kB / 0.8479 GB, free: 52.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009732/1.058, allocations: 5.735 MB / 0.8535 GB, free: 46.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.059, allocations: 1.835 MB / 0.8553 GB, free: 44.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001329/1.06, allocations: 279.3 kB / 0.8556 GB, free: 44.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/1.061, allocations: 175.3 kB / 0.8558 GB, free: 43.97 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/1.061, allocations: 0 / 0.8558 GB, free: 43.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.08326/1.144, allocations: 59.77 MB / 0.9141 GB, free: 312 kB / 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)