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.0008563/0.0008564, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.366/1.366, allocations: 223.3 MB / 239 MB, free: 5.441 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.001134/0.001134, allocations: 172.3 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5141/0.5141, allocations: 91.92 MB / 433.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 8 kB / 0.5042 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 72.46 MB / 0.5749 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.008377/0.3466, allocations: 12.78 MB / 0.5874 GB, free: 27.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006338/0.3529, allocations: 3.67 MB / 0.591 GB, free: 25.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.3548, allocations: 27.81 kB / 0.591 GB, free: 25.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.356, allocations: 379.6 kB / 0.5914 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003412/0.3594, allocations: 1.199 MB / 0.5926 GB, free: 24.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.3617, allocations: 1.018 MB / 0.5935 GB, free: 23.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004436/0.3662, allocations: 3.723 MB / 0.5972 GB, free: 21.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.3678, allocations: 0.7494 MB / 0.5979 GB, free: 21.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.3701, allocations: 1.327 MB / 0.5992 GB, free: 20.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.3728, allocations: 1.666 MB / 0.6008 GB, free: 20.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009657/0.3738, allocations: 145.1 kB / 0.601 GB, free: 20.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.3753, allocations: 277.4 kB / 0.6012 GB, free: 20.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009271/0.3762, allocations: 0.592 MB / 0.6018 GB, free: 19.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.3774, allocations: 0.5472 MB / 0.6024 GB, free: 19.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004122/0.3816, allocations: 3.496 MB / 0.6058 GB, free: 18.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3816, allocations: 0 / 0.6058 GB, free: 18.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3816, allocations: 1.094 kB / 0.6058 GB, free: 18.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001861/0.3818, allocations: 4 kB / 0.6058 GB, free: 18.4 MB / 430.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.01704/0.3988, allocations: 5.028 MB / 0.6107 GB, free: 16.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3989, allocations: 8.906 kB / 0.6107 GB, free: 16.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.4098, allocations: 1.645 MB / 0.6123 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005645/0.4155, allocations: 1.962 MB / 0.6142 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005909/0.4161, allocations: 0.4942 MB / 0.6147 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009858/0.4171, allocations: 210.3 kB / 0.6149 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007153/0.4243, allocations: 2.555 MB / 0.6174 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/0.4244, allocations: 2.266 kB / 0.6174 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004157/0.4248, allocations: 76.34 kB / 0.6175 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.4249, allocations: 45.97 kB / 0.6175 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005619/0.4305, allocations: 2.367 MB / 0.6198 GB, free: 12.29 MB / 430.1 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.01922/0.4497, allocations: 9.539 MB / 0.6291 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009449/0.4592, allocations: 5.154 MB / 0.6342 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003636/0.4629, allocations: 1.667 MB / 0.6358 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003562/0.4633, allocations: 34.98 kB / 0.6358 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004381/0.4677, allocations: 1.928 MB / 0.6377 GB, free: 12.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 6.081e-06/0.4677, allocations: 0 / 0.6377 GB, free: 12.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=245): time 0.08056/0.5483, allocations: 21.67 MB / 0.6589 GB, free: 6.887 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.5484, allocations: 231.6 kB / 0.6591 GB, free: 6.609 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004981/0.5534, allocations: 2.629 MB / 0.6617 GB, free: 3.969 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006937/0.5541, allocations: 77.69 kB / 0.6617 GB, free: 3.887 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.5552, allocations: 1.186 MB / 0.6629 GB, free: 2.691 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.5566, allocations: 0.8627 MB / 0.6637 GB, free: 1.816 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005941/0.5572, allocations: 68 kB / 0.6638 GB, free: 1.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002523/0.5575, allocations: 437 kB / 0.6642 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003794/0.5613, allocations: 1.701 MB / 0.6659 GB, free: 15.61 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003981/0.5653, allocations: 2.035 MB / 0.6679 GB, free: 13.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/0.5694, allocations: 2.018 MB / 0.6698 GB, free: 11.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.5694, allocations: 3.938 kB / 0.6698 GB, free: 11.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02431/0.5938, allocations: 9.023 MB / 0.6787 GB, free: 2.336 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.594, allocations: 172.6 kB / 0.6788 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.594, allocations: 4 kB / 0.6788 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/0.6053, allocations: 3.471 MB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/0.6085, allocations: 0.6202 MB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03968/0.6482, allocations: 19.39 MB / 0.7018 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004397/0.6526, allocations: 493.1 kB / 0.7022 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006604/0.6533, allocations: 120 kB / 0.7023 GB, free: 9.609 MB / 0.4981 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 gen3.AVR.firstOrder2.y:VARIABLE(flow=false start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "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 () * 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 (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.001915/0.6553, allocations: 0.6126 MB / 0.7029 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009816/0.6562, allocations: 320 kB / 0.7032 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02407/0.6803, allocations: 8.691 MB / 0.7117 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/0.6804, allocations: 28 kB / 0.7118 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6804, allocations: 0 / 0.7118 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.74e-05/0.6804, allocations: 11.95 kB / 0.7118 GB, free: 15.88 MB / 0.5137 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.03156/0.712, allocations: 13.45 MB / 0.7249 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/0.7121, allocations: 0 / 0.7249 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.7136, allocations: 231.7 kB / 0.7251 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01237/0.726, allocations: 3.934 MB / 0.729 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000591/0.7266, allocations: 59.94 kB / 0.729 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04403/0.7707, allocations: 20.97 MB / 0.7495 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7707, allocations: 0 / 0.7495 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02951/0.8002, allocations: 10.66 MB / 0.7599 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.8016, allocations: 460.5 kB / 0.7604 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/0.8029, allocations: 55.95 kB / 0.7604 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003314/0.8062, allocations: 299.7 kB / 0.7607 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001519/0.8078, allocations: 390.3 kB / 0.7611 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000388/0.8082, allocations: 75.98 kB / 0.7611 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00356/0.8117, allocations: 1.748 MB / 0.7629 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8117, allocations: 0 / 0.7629 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004599/0.8164, allocations: 1.077 MB / 0.7639 GB, free: 9.539 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 (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.0005868/0.817, allocations: 173.3 kB / 0.7641 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01333/0.8303, allocations: 5.892 MB / 0.7698 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.8303, allocations: 0 / 0.7698 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2426/1.073, allocations: 3.922 MB / 0.7737 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/1.076, allocations: 294.6 kB / 0.7739 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/1.087, allocations: 6.743 MB / 0.7805 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.088, allocations: 1.831 MB / 0.7823 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001293/1.089, allocations: 271.8 kB / 0.7826 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006082/1.09, allocations: 166.3 kB / 0.7827 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/1.09, allocations: 0 / 0.7827 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.08039/1.17, allocations: 51.79 MB / 0.8333 GB, free: 136.1 MB / 0.5606 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)