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.001072/0.001072, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.297/1.297, allocations: 222.9 MB / 240 MB, free: 4.367 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.001242/0.001242, allocations: 184.5 kB / 290.3 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4922/0.4922, allocations: 91.91 MB / 432.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 75.89 kB / 0.5033 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3393, allocations: 71.26 MB / 0.5729 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004875/0.3443, allocations: 5.252 MB / 0.578 GB, free: 34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.3467, allocations: 1.409 MB / 0.5794 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000399/0.3471, allocations: 8.438 kB / 0.5794 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.3475, allocations: 162.6 kB / 0.5795 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006774/0.3482, allocations: 332.3 kB / 0.5798 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.3495, allocations: 0.6434 MB / 0.5805 GB, free: 32.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00089/0.3504, allocations: 1.053 MB / 0.5815 GB, free: 31.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.3507, allocations: 236.7 kB / 0.5817 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.3511, allocations: 436.1 kB / 0.5821 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005025/0.3516, allocations: 0.5337 MB / 0.5827 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.338e-05/0.3517, allocations: 75.91 kB / 0.5827 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.352, allocations: 146.8 kB / 0.5829 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3521, allocations: 198.8 kB / 0.5831 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.3524, allocations: 472.7 kB / 0.5835 GB, free: 30.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007978/0.3532, allocations: 1.092 MB / 0.5846 GB, free: 30.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3532, allocations: 0 / 0.5846 GB, free: 30.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3532, allocations: 0 / 0.5846 GB, free: 30.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3533, allocations: 7.438 kB / 0.5846 GB, free: 30.28 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.0045/0.3578, allocations: 1.754 MB / 0.5863 GB, free: 29.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3578, allocations: 9.812 kB / 0.5863 GB, free: 29.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.3603, allocations: 448 kB / 0.5867 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.3613, allocations: 0.6213 MB / 0.5873 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.3616, allocations: 201.6 kB / 0.5875 GB, free: 28.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.3617, allocations: 53.88 kB / 0.5876 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.3631, allocations: 0.7682 MB / 0.5883 GB, free: 28.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.3632, allocations: 5.094 kB / 0.5883 GB, free: 28.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/0.3632, allocations: 20.72 kB / 0.5884 GB, free: 28.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.3633, allocations: 16.56 kB / 0.5884 GB, free: 28.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.3647, allocations: 0.697 MB / 0.5891 GB, free: 28.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.3687, allocations: 2.677 MB / 0.5917 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.37, allocations: 1.033 MB / 0.5927 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008359/0.3709, allocations: 492.1 kB / 0.5932 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-05/0.3709, allocations: 7.938 kB / 0.5932 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.372, allocations: 0.5872 MB / 0.5937 GB, free: 25.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.995e-06/0.372, allocations: 0 / 0.5937 GB, free: 25.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01844/0.3904, allocations: 4.604 MB / 0.5982 GB, free: 24.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3905, allocations: 92.11 kB / 0.5983 GB, free: 24.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3916, allocations: 0.7056 MB / 0.599 GB, free: 23.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.3917, allocations: 36.81 kB / 0.599 GB, free: 23.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.3919, allocations: 381 kB / 0.5994 GB, free: 23.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.3922, allocations: 230.6 kB / 0.5996 GB, free: 23.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.3924, allocations: 106.9 kB / 0.5997 GB, free: 23.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.3925, allocations: 331 kB / 0.6 GB, free: 23.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008929/0.3934, allocations: 402.8 kB / 0.6004 GB, free: 22.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000932/0.3943, allocations: 0.5007 MB / 0.6009 GB, free: 22.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.3961, allocations: 0.9192 MB / 0.6018 GB, free: 22.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3961, allocations: 1.062 kB / 0.6018 GB, free: 22.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008631/0.4047, allocations: 2.59 MB / 0.6043 GB, free: 21.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.4048, allocations: 7.938 kB / 0.6044 GB, free: 21.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.4048, allocations: 8.438 kB / 0.6044 GB, free: 21.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004465/0.4093, allocations: 1.123 MB / 0.6055 GB, free: 21.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.4099, allocations: 98.3 kB / 0.6056 GB, free: 21.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/0.4252, allocations: 6.773 MB / 0.6122 GB, free: 17.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.4263, allocations: 112.2 kB / 0.6123 GB, free: 17.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/0.4263, allocations: 23.77 kB / 0.6123 GB, free: 17.84 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.0003397/0.4267, allocations: 207.9 kB / 0.6125 GB, free: 17.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.4268, allocations: 85.28 kB / 0.6126 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008477/0.4353, allocations: 2.622 MB / 0.6151 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.4354, allocations: 7.75 kB / 0.6151 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4354, allocations: 3.938 kB / 0.6152 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.4354, allocations: 5.078 kB / 0.6152 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009171/0.4446, allocations: 3.838 MB / 0.6189 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.4446, allocations: 0 / 0.6189 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.4451, allocations: 79.98 kB / 0.619 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00329/0.4484, allocations: 1.075 MB / 0.62 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.704e-05/0.4485, allocations: 27.92 kB / 0.6201 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/0.4593, allocations: 6.001 MB / 0.6259 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4594, allocations: 3.938 kB / 0.6259 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.4708, allocations: 3.22 MB / 0.6291 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/0.4713, allocations: 183.8 kB / 0.6292 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/0.4716, allocations: 12 kB / 0.6293 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.4729, allocations: 75.91 kB / 0.6293 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006392/0.4735, allocations: 152.3 kB / 0.6295 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.4737, allocations: 16 kB / 0.6295 GB, free: 3.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009305/0.4746, allocations: 0.4951 MB / 0.63 GB, free: 3.051 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4746, allocations: 0 / 0.63 GB, free: 3.051 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001588/0.4762, allocations: 291.8 kB / 0.6302 GB, free: 2.766 MB / 430.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.000259/0.4765, allocations: 115.1 kB / 0.6304 GB, free: 2.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005135/0.4816, allocations: 1.536 MB / 0.6319 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.4817, allocations: 0 / 0.6319 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003539/0.4852, allocations: 1.08 MB / 0.6329 GB, free: 0 / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4864, allocations: 75.36 kB / 0.633 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.4913, allocations: 1.591 MB / 0.6345 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009494/0.4923, allocations: 0.9709 MB / 0.6355 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000374/0.4926, allocations: 69.12 kB / 0.6356 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.4929, allocations: 55.42 kB / 0.6356 GB, free: 13.19 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4929, allocations: 4 kB / 0.6356 GB, free: 13.18 MB / 446.1 MB Notification: Performance of Templates: time 0.03888/0.5318, allocations: 16.87 MB / 0.6521 GB, free: 12.32 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)