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.001406/0.001406, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.364/1.364, allocations: 222.9 MB / 240.1 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.001621/0.001621, allocations: 187.4 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5639/0.5639, allocations: 91.9 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 74.53 kB / 0.5734 GB, free: 33.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1494, allocations: 71.28 MB / 0.643 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01458/0.164, allocations: 13.74 MB / 0.6564 GB, free: 5.824 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009288/0.1734, allocations: 3.666 MB / 0.66 GB, free: 2.148 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003478/0.1769, allocations: 24 kB / 0.66 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00232/0.1792, allocations: 0.5419 MB / 0.6605 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005972/0.1853, allocations: 1.489 MB / 0.662 GB, free: 88 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.1889, allocations: 1.355 MB / 0.6633 GB, free: 14.74 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006458/0.1954, allocations: 4.217 MB / 0.6674 GB, free: 10.51 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.1973, allocations: 0.9768 MB / 0.6684 GB, free: 9.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.2004, allocations: 1.642 MB / 0.67 GB, free: 7.824 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00329/0.2037, allocations: 1.983 MB / 0.6719 GB, free: 5.832 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.2051, allocations: 376 kB / 0.6723 GB, free: 5.465 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.2071, allocations: 0.5155 MB / 0.6728 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.2086, allocations: 0.8521 MB / 0.6736 GB, free: 4.094 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002644/0.2112, allocations: 1.764 MB / 0.6753 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.2161, allocations: 4.582 MB / 0.6798 GB, free: 13.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2161, allocations: 0 / 0.6798 GB, free: 13.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.2162, allocations: 0 / 0.6798 GB, free: 13.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.792e-05/0.2162, allocations: 3.938 kB / 0.6798 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.0181/0.2343, allocations: 5.514 MB / 0.6852 GB, free: 8.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.2344, allocations: 8.031 kB / 0.6852 GB, free: 8.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.245, allocations: 1.642 MB / 0.6868 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004281/0.2493, allocations: 2.084 MB / 0.6888 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004715/0.2498, allocations: 494.4 kB / 0.6893 GB, free: 3.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/0.2502, allocations: 203.9 kB / 0.6895 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004914/0.2551, allocations: 2.472 MB / 0.6919 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.2551, allocations: 4 kB / 0.6919 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/0.2554, allocations: 76 kB / 0.692 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.2554, allocations: 47.98 kB / 0.692 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004545/0.26, allocations: 2.275 MB / 0.6943 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.01825/0.2782, allocations: 9.357 MB / 0.7034 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.2885, allocations: 4.599 MB / 0.7079 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/0.2917, allocations: 1.574 MB / 0.7094 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.2919, allocations: 37.97 kB / 0.7095 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003444/0.2954, allocations: 1.833 MB / 0.7113 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=245): time 4.007e-06/0.2954, allocations: 0 / 0.7113 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=245): time 0.08395/0.3793, allocations: 19.05 MB / 0.7299 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001964/0.3796, allocations: 235.6 kB / 0.7301 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007096/0.3867, allocations: 2.652 MB / 0.7327 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00101/0.3878, allocations: 77.69 kB / 0.7328 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.3889, allocations: 1.182 MB / 0.7339 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001514/0.3905, allocations: 0.8666 MB / 0.7348 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.3916, allocations: 0.5854 MB / 0.7353 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3918, allocations: 313 kB / 0.7356 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003333/0.3951, allocations: 1.615 MB / 0.7372 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003703/0.3988, allocations: 1.958 MB / 0.7391 GB, free: 15.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04576/0.4446, allocations: 11.12 MB / 0.75 GB, free: 4.383 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/0.4447, allocations: 4 kB / 0.75 GB, free: 4.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02769/0.4724, allocations: 7.922 MB / 0.7577 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.4726, allocations: 170.2 kB / 0.7579 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.4726, allocations: 11.92 kB / 0.7579 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/0.4845, allocations: 3.069 MB / 0.7609 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/0.4879, allocations: 0.6046 MB / 0.7615 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4595/0.9475, allocations: 19.44 MB / 0.7805 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/0.9521, allocations: 423.6 kB / 0.7809 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006563/0.9527, allocations: 116.9 kB / 0.781 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.00142/0.9542, allocations: 0.6103 MB / 0.7816 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007896/0.955, allocations: 319.9 kB / 0.7819 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02404/0.979, allocations: 7.475 MB / 0.7892 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-05/0.9791, allocations: 27.34 kB / 0.7892 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.9791, allocations: 0 / 0.7892 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.52e-05/0.9792, allocations: 10.88 kB / 0.7892 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.03117/1.01, allocations: 12.18 MB / 0.8011 GB, free: 99.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.801e-05/1.01, allocations: 4.094 kB / 0.8011 GB, free: 99.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.012, allocations: 239.9 kB / 0.8013 GB, free: 99.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01204/1.024, allocations: 3.527 MB / 0.8048 GB, free: 97.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007673/1.025, allocations: 59.58 kB / 0.8048 GB, free: 97.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04282/1.068, allocations: 21.51 MB / 0.8259 GB, free: 75.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.068, allocations: 3.938 kB / 0.8259 GB, free: 75.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02716/1.095, allocations: 9.375 MB / 0.835 GB, free: 66.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.097, allocations: 456.2 kB / 0.8354 GB, free: 65.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/1.098, allocations: 55.98 kB / 0.8355 GB, free: 65.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003579/1.102, allocations: 232.9 kB / 0.8357 GB, free: 65.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001784/1.103, allocations: 390.4 kB / 0.8361 GB, free: 65.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004476/1.104, allocations: 67.98 kB / 0.8362 GB, free: 65.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003006/1.107, allocations: 1.775 MB / 0.8379 GB, free: 63.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.107, allocations: 0 / 0.8379 GB, free: 63.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004775/1.112, allocations: 1.067 MB / 0.8389 GB, free: 62.26 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.0004619/1.112, allocations: 180.6 kB / 0.8391 GB, free: 62.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01165/1.124, allocations: 5.588 MB / 0.8446 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.124, allocations: 6.703 kB / 0.8446 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008214/1.132, allocations: 3.69 MB / 0.8482 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.135, allocations: 308 kB / 0.8485 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009571/1.144, allocations: 5.797 MB / 0.8541 GB, free: 46.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.145, allocations: 1.835 MB / 0.8559 GB, free: 44.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/1.146, allocations: 183.4 kB / 0.8561 GB, free: 44.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/1.146, allocations: 4 kB / 0.8561 GB, free: 44.44 MB / 0.5606 GB Notification: Performance of Templates: time 0.08423/1.231, allocations: 82.74 MB / 0.9369 GB, free: 9.668 MB / 0.6075 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)