Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08165/0.08165, allocations: 12.2 MB / 27.47 MB, free: 0.9297 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00063/0.00063, allocations: 99.52 kB / 31 MB, free: 4.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.4 MB / 239.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 180.5 kB / 291 MB, free: 13.3 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4556/0.4556, allocations: 78.52 MB / 420.5 MB, free: 48.68 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008753/0.0008754, allocations: 39.27 kB / 0.4902 GB, free: 2.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3446, allocations: 69.21 MB / 0.5578 GB, free: 43.29 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005063/0.3497, allocations: 5.14 MB / 0.5628 GB, free: 41.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.353, allocations: 1.392 MB / 0.5642 GB, free: 40.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004004/0.3534, allocations: 11.72 kB / 0.5642 GB, free: 40.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.3538, allocations: 129.8 kB / 0.5643 GB, free: 40.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007309/0.3546, allocations: 283.1 kB / 0.5646 GB, free: 40.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.3559, allocations: 0.5967 MB / 0.5652 GB, free: 40.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.357, allocations: 1.002 MB / 0.5661 GB, free: 39.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.3573, allocations: 197.6 kB / 0.5663 GB, free: 39.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004574/0.3578, allocations: 392 kB / 0.5667 GB, free: 39.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006088/0.3584, allocations: 499.9 kB / 0.5672 GB, free: 39.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/0.3585, allocations: 39.88 kB / 0.5672 GB, free: 39.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.3587, allocations: 98.23 kB / 0.5673 GB, free: 39.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3589, allocations: 163.1 kB / 0.5675 GB, free: 39.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.3592, allocations: 450.8 kB / 0.5679 GB, free: 38.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008329/0.36, allocations: 1.016 MB / 0.5689 GB, free: 38.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.36, allocations: 0 / 0.5689 GB, free: 38.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3601, allocations: 1.094 kB / 0.5689 GB, free: 38.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.3601, allocations: 0 / 0.5689 GB, free: 38.57 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.004583/0.3647, allocations: 1.634 MB / 0.5705 GB, free: 37.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3647, allocations: 12.64 kB / 0.5705 GB, free: 37.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.3648, allocations: 106.3 kB / 0.5706 GB, free: 37.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/0.3673, allocations: 438.8 kB / 0.571 GB, free: 37.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.3681, allocations: 0.6388 MB / 0.5716 GB, free: 37.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.3683, allocations: 203.7 kB / 0.5718 GB, free: 36.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.3684, allocations: 51.09 kB / 0.5719 GB, free: 36.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.3699, allocations: 0.8255 MB / 0.5727 GB, free: 36.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3699, allocations: 0 / 0.5727 GB, free: 36.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.37, allocations: 25.88 kB / 0.5727 GB, free: 36.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.37, allocations: 13.53 kB / 0.5727 GB, free: 36.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.3714, allocations: 0.7612 MB / 0.5735 GB, free: 36.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.3752, allocations: 2.735 MB / 0.5761 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.3766, allocations: 1.091 MB / 0.5772 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009821/0.3776, allocations: 0.5258 MB / 0.5777 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.465e-05/0.3777, allocations: 15.89 kB / 0.5777 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.3789, allocations: 0.6347 MB / 0.5783 GB, free: 33.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.304e-06/0.3789, allocations: 2.875 kB / 0.5784 GB, free: 33.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01881/0.3977, allocations: 5.615 MB / 0.5838 GB, free: 32.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3978, allocations: 86.95 kB / 0.5839 GB, free: 32.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008663/0.3987, allocations: 0.711 MB / 0.5846 GB, free: 32.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/0.3987, allocations: 36.33 kB / 0.5846 GB, free: 32.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.3989, allocations: 384 kB / 0.585 GB, free: 31.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.3991, allocations: 226.4 kB / 0.5852 GB, free: 31.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.3992, allocations: 58.03 kB / 0.5853 GB, free: 31.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.3993, allocations: 326 kB / 0.5856 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008998/0.4002, allocations: 459.8 kB / 0.586 GB, free: 31.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/0.4012, allocations: 0.5517 MB / 0.5866 GB, free: 30.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.403, allocations: 1.02 MB / 0.5876 GB, free: 30.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.403, allocations: 0 / 0.5876 GB, free: 30.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008895/0.4119, allocations: 3.16 MB / 0.5907 GB, free: 29.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.4119, allocations: 12.06 kB / 0.5907 GB, free: 29.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.412, allocations: 3.281 kB / 0.5907 GB, free: 29.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00462/0.4166, allocations: 1.307 MB / 0.5919 GB, free: 29.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.4171, allocations: 104.5 kB / 0.592 GB, free: 29.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.433, allocations: 6.859 MB / 0.5987 GB, free: 26.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.4343, allocations: 139.4 kB / 0.5989 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.4344, allocations: 30.39 kB / 0.5989 GB, free: 26.13 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.0003489/0.4347, allocations: 209.9 kB / 0.5991 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.4349, allocations: 89.25 kB / 0.5992 GB, free: 25.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/0.4451, allocations: 3.193 MB / 0.6023 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.4452, allocations: 7.75 kB / 0.6023 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4452, allocations: 0 / 0.6023 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.4452, allocations: 4.781 kB / 0.6023 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.4565, allocations: 4.408 MB / 0.6066 GB, free: 23.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.4566, allocations: 5.031 kB / 0.6066 GB, free: 23.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/0.4571, allocations: 81.67 kB / 0.6067 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004068/0.4611, allocations: 1.264 MB / 0.6079 GB, free: 22.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.022e-05/0.4612, allocations: 15.59 kB / 0.608 GB, free: 22.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.4733, allocations: 6.03 MB / 0.6138 GB, free: 17.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4733, allocations: 7.938 kB / 0.6139 GB, free: 17.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009711/0.4831, allocations: 3.841 MB / 0.6176 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.4834, allocations: 183.8 kB / 0.6178 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.4836, allocations: 15.94 kB / 0.6178 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007947/0.4844, allocations: 103.9 kB / 0.6179 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/0.4848, allocations: 144.2 kB / 0.618 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/0.4848, allocations: 19.98 kB / 0.6181 GB, free: 13.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005206/0.4854, allocations: 0.4912 MB / 0.6185 GB, free: 13.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4854, allocations: 0 / 0.6185 GB, free: 13.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009006/0.4863, allocations: 287.8 kB / 0.6188 GB, free: 12.82 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.009789/0.4961, allocations: 4.409 MB / 0.6231 GB, free: 8.371 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004088/0.5002, allocations: 1.689 MB / 0.6248 GB, free: 6.672 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5002, allocations: 128 / 0.6248 GB, free: 6.672 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002896/0.5031, allocations: 1.19 MB / 0.6259 GB, free: 5.477 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.5039, allocations: 84.39 kB / 0.626 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/0.5305, allocations: 12.35 MB / 0.6381 GB, free: 8.777 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.5312, allocations: 0.9824 MB / 0.639 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003503/0.5316, allocations: 65.14 kB / 0.6391 GB, free: 7.703 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/0.5321, allocations: 307.3 kB / 0.6394 GB, free: 7.402 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.5321, allocations: 0 / 0.6394 GB, free: 7.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.57, allocations: 21.9 MB / 0.6608 GB, free: 1.602 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.5702, allocations: 209.8 kB / 0.661 GB, free: 1.348 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/2.783, allocations: 0 / 0.661 GB, free: 1.348 MB / 462.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)