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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9942/0.9942, allocations: 177.2 MB / 200.3 MB, free: 5.688 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 160.5 kB / 257 MB, free: 12.97 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.43/0.43, allocations: 83.31 MB / 343.6 MB, free: 6.711 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,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=20000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 387.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.83e-05, allocations: 2.312 kB / 387.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.009549/0.009567, allocations: 12.56 MB / 400.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00765/0.01722, allocations: 3.882 MB / 404.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.01826, allocations: 27.94 kB / 404.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008151/0.01908, allocations: 0.5457 MB / 404.9 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.02131, allocations: 1.672 MB / 406.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.02297, allocations: 1.419 MB / 408 MB, free: 6.535 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.02538, allocations: 4.196 MB / 412.2 MB, free: 2.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007073/0.02609, allocations: 0.6611 MB / 412.9 MB, free: 1.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.02765, allocations: 2.342 MB / 415.2 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.02881, allocations: 1.608 MB / 416.8 MB, free: 13.63 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003158/0.02912, allocations: 380 kB / 417.2 MB, free: 13.26 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005171/0.02964, allocations: 0.5271 MB / 417.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004599/0.0301, allocations: 0.8753 MB / 418.6 MB, free: 11.85 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007965/0.0309, allocations: 1.192 MB / 419.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.03281, allocations: 2.934 MB / 422.7 MB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.03282, allocations: 0 / 422.7 MB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.03282, allocations: 0 / 422.7 MB, free: 7.711 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.03284, allocations: 0 / 422.7 MB, free: 7.711 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.007263/0.0401, allocations: 5.449 MB / 428.2 MB, free: 2.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.04014, allocations: 8.031 kB / 428.2 MB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005427/0.04557, allocations: 2.068 MB / 430.2 MB, free: 100 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.04735, allocations: 1.309 MB / 431.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003424/0.0477, allocations: 0.6373 MB / 432.2 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.04794, allocations: 211.9 kB / 432.4 MB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.04988, allocations: 1.604 MB / 434 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.04991, allocations: 0 / 434 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.05004, allocations: 79.98 kB / 434.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.05007, allocations: 48 kB / 434.1 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.05115, allocations: 0.7802 MB / 434.9 MB, free: 11.2 MB / 410.7 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.006156/0.0573, allocations: 4.562 MB / 439.5 MB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/0.06027, allocations: 2.02 MB / 441.5 MB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.06087, allocations: 0.6105 MB / 442.1 MB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.06101, allocations: 50 kB / 442.1 MB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000978/0.06199, allocations: 1.127 MB / 443.3 MB, free: 2.609 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 3.968e-06/0.062, allocations: 0 / 443.3 MB, free: 2.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=251): time 0.2147/0.2767, allocations: 13.38 MB / 456.7 MB, free: 58.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.2768, allocations: 238.2 kB / 456.9 MB, free: 57.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.2782, allocations: 1.97 MB / 458.9 MB, free: 57.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.2784, allocations: 78.88 kB / 458.9 MB, free: 57.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.2787, allocations: 0.7622 MB / 459.7 MB, free: 56.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004273/0.2791, allocations: 0.9272 MB / 460.6 MB, free: 56.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005531/0.2797, allocations: 0.5871 MB / 461.2 MB, free: 56.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.072e-05/0.2797, allocations: 309 kB / 461.5 MB, free: 56.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009285/0.2806, allocations: 0.7746 MB / 462.3 MB, free: 55.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009969/0.2816, allocations: 1.111 MB / 463.4 MB, free: 55.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/0.2845, allocations: 3.086 MB / 466.5 MB, free: 52.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.2845, allocations: 0 / 466.5 MB, free: 52.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.006977/0.2915, allocations: 4.799 MB / 471.3 MB, free: 47.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.2915, allocations: 179.7 kB / 471.5 MB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.2915, allocations: 4.625 kB / 471.5 MB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006743/0.2983, allocations: 3.041 MB / 474.5 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.2996, allocations: 0.6022 MB / 475.1 MB, free: 43.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.3096, allocations: 9.379 MB / 484.5 MB, free: 34.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.3113, allocations: 339.9 kB / 484.8 MB, free: 34.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.3114, allocations: 91.89 kB / 484.9 MB, free: 34.44 MB / 410.7 MB 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 (337): * Single equations (assignments): 328 * 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.0006312/0.312, allocations: 377.2 kB / 485.3 MB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.3123, allocations: 263.7 kB / 485.5 MB, free: 33.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006782/0.3191, allocations: 4.507 MB / 490 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.3191, allocations: 24 kB / 490.1 MB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3191, allocations: 0 / 490.1 MB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.3191, allocations: 17.45 kB / 490.1 MB, free: 29.16 MB / 410.7 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 postOpt removeSimpleEquations (simulation): time 0.008929/0.3281, allocations: 6.344 MB / 496.4 MB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/0.3281, allocations: 0 / 496.4 MB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.3287, allocations: 239.6 kB / 496.7 MB, free: 22.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007503/0.3362, allocations: 3.697 MB / 0.4886 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.3363, allocations: 60.94 kB / 0.4887 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/0.347, allocations: 11.24 MB / 0.4997 GB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.347, allocations: 0 / 0.4997 GB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007803/0.3548, allocations: 5.183 MB / 0.5047 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005727/0.3554, allocations: 307.3 kB / 0.505 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/0.3556, allocations: 59.92 kB / 0.5051 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000895/0.3565, allocations: 155.9 kB / 0.5052 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005769/0.3571, allocations: 395 kB / 0.5056 GB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.19e-05/0.3572, allocations: 47.98 kB / 0.5056 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000771/0.358, allocations: 1.057 MB / 0.5067 GB, free: 15.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.358, allocations: 4 kB / 0.5067 GB, free: 15.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002201/0.3602, allocations: 1.071 MB / 0.5077 GB, free: 14.8 MB / 426.7 MB 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 (152): * Single equations (assignments): 145 * 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.0003634/0.3605, allocations: 168.1 kB / 0.5079 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004837/0.3654, allocations: 3.686 MB / 0.5115 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.139e-05/0.3654, allocations: 28.5 kB / 0.5115 GB, free: 10.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003188/0.3686, allocations: 2.679 MB / 0.5141 GB, free: 7.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3696, allocations: 332.2 kB / 0.5144 GB, free: 7.609 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005935/0.3755, allocations: 5.043 MB / 0.5194 GB, free: 2.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.3759, allocations: 0.5461 MB / 0.5199 GB, free: 1.949 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005522/0.3765, allocations: 263.1 kB / 0.5202 GB, free: 1.688 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006084/0.3771, allocations: 363.3 kB / 0.5205 GB, free: 1.332 MB / 426.7 MB Notification: Performance of SimCode: time 1.552e-06/0.3771, allocations: 0 / 0.5205 GB, free: 1.332 MB / 426.7 MB Notification: Performance of Templates: time 0.06261/0.4397, allocations: 63.75 MB / 0.5828 GB, free: 2.062 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.724105699919164]