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: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 108 kB / 15.6 MB, free: 132 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.394/1.394, allocations: 222.9 MB / 239.3 MB, free: 4.605 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.001852/0.001851, allocations: 188.5 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.53/0.53, allocations: 91.91 MB / 431.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 75.88 kB / 0.502 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5417, allocations: 71.26 MB / 0.5716 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005506/0.5473, allocations: 5.257 MB / 0.5767 GB, free: 33.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.5502, allocations: 1.403 MB / 0.5781 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.5506, allocations: 12 kB / 0.5781 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004548/0.5511, allocations: 160.3 kB / 0.5782 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007138/0.5519, allocations: 334.5 kB / 0.5785 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.5532, allocations: 0.6402 MB / 0.5792 GB, free: 32.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008906/0.5541, allocations: 1.056 MB / 0.5802 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.5545, allocations: 232.4 kB / 0.5804 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.5549, allocations: 432.3 kB / 0.5808 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.5555, allocations: 0.5328 MB / 0.5814 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.5556, allocations: 76.88 kB / 0.5814 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.5559, allocations: 137.6 kB / 0.5816 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.5561, allocations: 209.2 kB / 0.5818 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.5565, allocations: 476.1 kB / 0.5822 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.5575, allocations: 1.07 MB / 0.5833 GB, free: 30.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5576, allocations: 0 / 0.5833 GB, free: 30.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5576, allocations: 0 / 0.5833 GB, free: 30.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.5576, allocations: 5.688 kB / 0.5833 GB, free: 30.21 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.004874/0.5625, allocations: 1.76 MB / 0.585 GB, free: 29.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5625, allocations: 9.438 kB / 0.585 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.5626, allocations: 101.3 kB / 0.5851 GB, free: 29.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/0.5653, allocations: 443.6 kB / 0.5855 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009481/0.5662, allocations: 0.6241 MB / 0.5861 GB, free: 28.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.5665, allocations: 205.1 kB / 0.5863 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.5666, allocations: 53.31 kB / 0.5864 GB, free: 28.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.5683, allocations: 0.7696 MB / 0.5871 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.5684, allocations: 0 / 0.5871 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.126e-05/0.5684, allocations: 28.41 kB / 0.5872 GB, free: 28.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.5685, allocations: 12.56 kB / 0.5872 GB, free: 28.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.5701, allocations: 0.6962 MB / 0.5878 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/0.5744, allocations: 2.689 MB / 0.5905 GB, free: 26.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.5759, allocations: 1.035 MB / 0.5915 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009439/0.5769, allocations: 482.2 kB / 0.5919 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.548e-05/0.577, allocations: 12.03 kB / 0.592 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/0.5783, allocations: 0.5957 MB / 0.5925 GB, free: 25.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.265e-06/0.5783, allocations: 0 / 0.5925 GB, free: 25.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.02041/0.5988, allocations: 4.6 MB / 0.597 GB, free: 24.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.5989, allocations: 90.59 kB / 0.5971 GB, free: 24.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.6004, allocations: 0.7078 MB / 0.5978 GB, free: 23.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.6005, allocations: 36.67 kB / 0.5978 GB, free: 23.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.6008, allocations: 379.6 kB / 0.5982 GB, free: 23.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.6012, allocations: 230.6 kB / 0.5984 GB, free: 23.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.6015, allocations: 106.3 kB / 0.5985 GB, free: 23.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6016, allocations: 336.8 kB / 0.5988 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.6027, allocations: 399 kB / 0.5992 GB, free: 22.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.6039, allocations: 0.5042 MB / 0.5997 GB, free: 22.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.606, allocations: 0.9231 MB / 0.6006 GB, free: 22.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.606, allocations: 1.156 kB / 0.6006 GB, free: 22.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.01017/0.6162, allocations: 2.585 MB / 0.6031 GB, free: 21.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.6163, allocations: 13.2 kB / 0.6032 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.6163, allocations: 3 kB / 0.6032 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004799/0.6211, allocations: 1.122 MB / 0.6043 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.6217, allocations: 91.86 kB / 0.6043 GB, free: 21.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/0.6386, allocations: 6.784 MB / 0.611 GB, free: 17.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.6401, allocations: 117.7 kB / 0.6111 GB, free: 17.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9e-05/0.6402, allocations: 22.81 kB / 0.6111 GB, free: 17.67 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.0004924/0.6407, allocations: 201.8 kB / 0.6113 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.6409, allocations: 85.73 kB / 0.6114 GB, free: 17.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009632/0.6505, allocations: 2.626 MB / 0.6139 GB, free: 16.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.6506, allocations: 18.39 kB / 0.614 GB, free: 16.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6506, allocations: 1 kB / 0.614 GB, free: 16.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.6506, allocations: 0 / 0.614 GB, free: 16.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009952/0.6606, allocations: 3.831 MB / 0.6177 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.6606, allocations: 1.312 kB / 0.6177 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.6611, allocations: 83.64 kB / 0.6178 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0037/0.6648, allocations: 1.083 MB / 0.6188 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/0.6649, allocations: 15.94 kB / 0.6189 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.6769, allocations: 6.016 MB / 0.6247 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.677, allocations: 3.938 kB / 0.6247 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00928/0.6863, allocations: 3.22 MB / 0.6279 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.6869, allocations: 179.8 kB / 0.628 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.687, allocations: 16 kB / 0.6281 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/0.6878, allocations: 71.91 kB / 0.6281 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004763/0.6883, allocations: 152.4 kB / 0.6283 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.6883, allocations: 16 kB / 0.6283 GB, free: 3.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000646/0.689, allocations: 0.499 MB / 0.6288 GB, free: 3.074 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.689, allocations: 0 / 0.6288 GB, free: 3.074 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001137/0.6901, allocations: 287.8 kB / 0.6291 GB, free: 2.793 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.00945/0.6996, allocations: 3.788 MB / 0.6328 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004719/0.7044, allocations: 1.556 MB / 0.6343 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.7044, allocations: 0 / 0.6343 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003154/0.7075, allocations: 1.068 MB / 0.6353 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009147/0.7085, allocations: 83.36 kB / 0.6354 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/0.734, allocations: 10.81 MB / 0.646 GB, free: 1.145 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.7346, allocations: 0.9709 MB / 0.6469 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000313/0.7349, allocations: 73.12 kB / 0.647 GB, free: 76 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.7354, allocations: 315.3 kB / 0.6473 GB, free: 15.77 MB / 462.1 MB Notification: Performance of SimCode: time 2.043e-06/0.7354, allocations: 0 / 0.6473 GB, free: 15.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05431/0.7897, allocations: 24.21 MB / 0.6709 GB, free: 7.668 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.48, allocations: 5.25 kB / 0.6709 GB, free: 7.664 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)