Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.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.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008577/0.0008578, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.363 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.001201/0.001201, allocations: 192.4 kB / 291.3 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.512/0.512, allocations: 91.92 MB / 434.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003997, allocations: 8.375 kB / 0.5054 GB, free: 7.273 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3693, allocations: 72.47 MB / 0.5762 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004312/0.3737, allocations: 5.123 MB / 0.5812 GB, free: 33.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.3764, allocations: 1.434 MB / 0.5826 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005715/0.3771, allocations: 8.25 kB / 0.5826 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.3775, allocations: 134.8 kB / 0.5827 GB, free: 32.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007618/0.3782, allocations: 279.2 kB / 0.583 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3795, allocations: 0.5867 MB / 0.5835 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009537/0.3804, allocations: 1.007 MB / 0.5845 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.3808, allocations: 199.5 kB / 0.5847 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.3812, allocations: 386.6 kB / 0.5851 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.3817, allocations: 492.5 kB / 0.5856 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/0.3818, allocations: 38.72 kB / 0.5856 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.3821, allocations: 100.5 kB / 0.5857 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.3822, allocations: 163.4 kB / 0.5858 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.3825, allocations: 455.5 kB / 0.5863 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005826/0.3831, allocations: 0.7981 MB / 0.5871 GB, free: 30.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3831, allocations: 0 / 0.5871 GB, free: 30.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3831, allocations: 0 / 0.5871 GB, free: 30.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3831, allocations: 3.938 kB / 0.5871 GB, free: 30.07 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004667/0.3878, allocations: 1.646 MB / 0.5887 GB, free: 29.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3879, allocations: 8.219 kB / 0.5887 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/0.3906, allocations: 447.3 kB / 0.5891 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009661/0.3915, allocations: 0.6272 MB / 0.5897 GB, free: 28.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.3918, allocations: 212.4 kB / 0.5899 GB, free: 28.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3919, allocations: 50.62 kB / 0.59 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.3935, allocations: 0.8199 MB / 0.5908 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3935, allocations: 0 / 0.5908 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.049e-05/0.3936, allocations: 20.09 kB / 0.5908 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.3936, allocations: 16.91 kB / 0.5908 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.3953, allocations: 0.7653 MB / 0.5916 GB, free: 27.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/0.3995, allocations: 2.732 MB / 0.5942 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.4011, allocations: 1.089 MB / 0.5953 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.4021, allocations: 0.5287 MB / 0.5958 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.657e-05/0.4022, allocations: 11.03 kB / 0.5958 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.4035, allocations: 0.6349 MB / 0.5964 GB, free: 25.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.775e-06/0.4035, allocations: 0 / 0.5964 GB, free: 25.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.02111/0.4246, allocations: 5.619 MB / 0.6019 GB, free: 24.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.4247, allocations: 88.41 kB / 0.602 GB, free: 23.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.4258, allocations: 0.7128 MB / 0.6027 GB, free: 23.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.426, allocations: 37.72 kB / 0.6027 GB, free: 23.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.4263, allocations: 378.7 kB / 0.6031 GB, free: 23.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.4266, allocations: 231.7 kB / 0.6033 GB, free: 23.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.4268, allocations: 54.86 kB / 0.6034 GB, free: 23.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.4268, allocations: 326.7 kB / 0.6037 GB, free: 22.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.428, allocations: 456.8 kB / 0.6041 GB, free: 22.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.4291, allocations: 0.5535 MB / 0.6047 GB, free: 22.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.4311, allocations: 1.019 MB / 0.6057 GB, free: 21.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4312, allocations: 0 / 0.6057 GB, free: 21.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.01024/0.4414, allocations: 3.16 MB / 0.6087 GB, free: 21.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.4415, allocations: 10.72 kB / 0.6087 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.4415, allocations: 7.797 kB / 0.6088 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/0.4461, allocations: 1.304 MB / 0.61 GB, free: 20.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.4467, allocations: 105 kB / 0.6101 GB, free: 20.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/0.4629, allocations: 6.876 MB / 0.6168 GB, free: 17.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.4642, allocations: 139.7 kB / 0.617 GB, free: 17.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/0.4643, allocations: 26.72 kB / 0.617 GB, free: 17.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(18,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000387/0.4646, allocations: 199.3 kB / 0.6172 GB, free: 17.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.4648, allocations: 89.64 kB / 0.6173 GB, free: 17.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009934/0.4747, allocations: 3.197 MB / 0.6204 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.4748, allocations: 11.98 kB / 0.6204 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4748, allocations: 0 / 0.6204 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.4748, allocations: 3.281 kB / 0.6204 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009977/0.4848, allocations: 4.416 MB / 0.6247 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.4849, allocations: 0 / 0.6247 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.4853, allocations: 83.83 kB / 0.6248 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003809/0.4892, allocations: 1.261 MB / 0.626 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.889e-05/0.4893, allocations: 19.98 kB / 0.6261 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/0.5015, allocations: 6.021 MB / 0.6319 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5016, allocations: 4 kB / 0.6319 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009831/0.5114, allocations: 3.841 MB / 0.6357 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.5119, allocations: 175.8 kB / 0.6359 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.5121, allocations: 16 kB / 0.6359 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5132, allocations: 107.8 kB / 0.636 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004969/0.5137, allocations: 144.3 kB / 0.6361 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-05/0.5138, allocations: 16 kB / 0.6361 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007329/0.5145, allocations: 0.4951 MB / 0.6366 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5145, allocations: 11.88 kB / 0.6366 GB, free: 14.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001218/0.5157, allocations: 287.8 kB / 0.6369 GB, free: 14.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Syn1.omega,sTATCOM.simpleLagLim.state,Syn1.delta,Syn1.eq) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(17,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002274/0.516, allocations: 115.1 kB / 0.637 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00471/0.5207, allocations: 1.696 MB / 0.6387 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5207, allocations: 0 / 0.6387 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00323/0.524, allocations: 1.176 MB / 0.6398 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009124/0.5249, allocations: 79.3 kB / 0.6399 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.5285, allocations: 2.021 MB / 0.6419 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.529, allocations: 0.9786 MB / 0.6428 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.5293, allocations: 51.42 kB / 0.6429 GB, free: 8.348 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5293, allocations: 0 / 0.6429 GB, free: 8.348 MB / 446.1 MB Notification: Performance of Templates: time 0.02127/0.5505, allocations: 14.11 MB / 0.6566 GB, free: 10.23 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)