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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008185/0.0008185, allocations: 86.55 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4253/0.4253, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.572e-05, allocations: 4 kB / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2938, allocations: 69.51 MB / 0.5491 GB, free: 19.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.4064, allocations: 104.4 MB / 0.6511 GB, free: 11.21 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001664/0.4067, allocations: 71.97 kB / 0.6511 GB, free: 11.14 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4397/0.8464, allocations: 75.26 MB / 0.7246 GB, free: 83.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.8464, allocations: 0 / 0.7246 GB, free: 83.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001582/0.8465, allocations: 56 kB / 0.7247 GB, free: 83.37 MB / 490.7 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.007082/0.8536, allocations: 3.482 MB / 0.7281 GB, free: 79.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.8537, allocations: 15.91 kB / 0.7281 GB, free: 79.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006609/0.8603, allocations: 1.194 MB / 0.7293 GB, free: 78.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.863, allocations: 1.806 MB / 0.731 GB, free: 76.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.8633, allocations: 0.4945 MB / 0.7315 GB, free: 76.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/0.8637, allocations: 199.9 kB / 0.7317 GB, free: 75.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/0.8669, allocations: 2.226 MB / 0.7339 GB, free: 73.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.867, allocations: 0 / 0.7339 GB, free: 73.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.8672, allocations: 76 kB / 0.734 GB, free: 73.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.8672, allocations: 47.98 kB / 0.734 GB, free: 73.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/0.8701, allocations: 2.018 MB / 0.736 GB, free: 71.57 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01332/0.8835, allocations: 9.296 MB / 0.745 GB, free: 61.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008519/0.892, allocations: 4.79 MB / 0.7497 GB, free: 56.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.8937, allocations: 1.347 MB / 0.751 GB, free: 55.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/0.8939, allocations: 38.14 kB / 0.7511 GB, free: 55.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002107/0.896, allocations: 1.612 MB / 0.7526 GB, free: 53.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 3.998e-06/0.896, allocations: 0 / 0.7526 GB, free: 53.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=245): time 0.02058/0.9166, allocations: 7.581 MB / 0.7601 GB, free: 46.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.9167, allocations: 235.7 kB / 0.7603 GB, free: 45.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/0.9201, allocations: 2.155 MB / 0.7624 GB, free: 43.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003638/0.9204, allocations: 73.7 kB / 0.7625 GB, free: 43.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007605/0.9212, allocations: 1.218 MB / 0.7636 GB, free: 42.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000825/0.9221, allocations: 0.851 MB / 0.7645 GB, free: 41.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.9223, allocations: 48 kB / 0.7645 GB, free: 41.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.9225, allocations: 395.1 kB / 0.7649 GB, free: 41.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.9243, allocations: 1.095 MB / 0.766 GB, free: 40.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.9262, allocations: 1.359 MB / 0.7673 GB, free: 38.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.9282, allocations: 1.37 MB / 0.7686 GB, free: 37.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.9282, allocations: 4 kB / 0.7686 GB, free: 37.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01869/0.9469, allocations: 7.299 MB / 0.7758 GB, free: 29.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.265e-05/0.947, allocations: 168.1 kB / 0.7759 GB, free: 29.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.947, allocations: 11.98 kB / 0.7759 GB, free: 29.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009428/0.9564, allocations: 2.93 MB / 0.7788 GB, free: 26.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/0.9588, allocations: 455.4 kB / 0.7792 GB, free: 26.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02683/0.9857, allocations: 16.12 MB / 0.795 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003882/0.9896, allocations: 437.8 kB / 0.7954 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004938/0.9901, allocations: 95.95 kB / 0.7955 GB, free: 9.113 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" 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 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {36 46,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008774/0.991, allocations: 327 kB / 0.7958 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008996/0.9919, allocations: 316.1 kB / 0.7961 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02137/1.013, allocations: 7.863 MB / 0.8038 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.013, allocations: 24 kB / 0.8038 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.013, allocations: 3.953 kB / 0.8038 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.779e-05/1.013, allocations: 19.95 kB / 0.8038 GB, free: 0.4961 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.03049/1.044, allocations: 12.31 MB / 0.8158 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.044, allocations: 7.938 kB / 0.8158 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.045, allocations: 231.7 kB / 0.8161 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01143/1.057, allocations: 3.373 MB / 0.8194 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000388/1.057, allocations: 55.98 kB / 0.8194 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03395/1.091, allocations: 17.91 MB / 0.8369 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.091, allocations: 3.953 kB / 0.8369 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03683/1.128, allocations: 9.516 MB / 0.8462 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/1.13, allocations: 464.5 kB / 0.8466 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/1.131, allocations: 52.12 kB / 0.8467 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005655/1.137, allocations: 307.7 kB / 0.847 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002411/1.14, allocations: 398 kB / 0.8474 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005329/1.14, allocations: 67.98 kB / 0.8474 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005037/1.145, allocations: 1.635 MB / 0.849 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/1.145, allocations: 0 / 0.849 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005964/1.151, allocations: 1.01 MB / 0.85 GB, free: 240 kB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {43 48,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008404/1.152, allocations: 209.1 kB / 0.8502 GB, free: 24 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01909/1.171, allocations: 4.746 MB / 0.8549 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/1.171, allocations: 0 / 0.8549 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0148/1.186, allocations: 3.577 MB / 0.8583 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/1.19, allocations: 265.9 kB / 0.8586 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/1.205, allocations: 4.616 MB / 0.8631 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/1.208, allocations: 1.9 MB / 0.865 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002116/1.21, allocations: 220.8 kB / 0.8652 GB, free: 432 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.211, allocations: 143.4 kB / 0.8653 GB, free: 288 kB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/1.211, allocations: 3.938 kB / 0.8653 GB, free: 284 kB / 0.5417 GB Notification: Performance of Templates: time 0.3603/1.572, allocations: 50.65 MB / 0.9148 GB, free: 164.9 MB / 0.573 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)