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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009829, allocations: 97.88 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4217/0.4217, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.826e-05, allocations: 4 kB / 492.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3026, allocations: 69.51 MB / 0.5492 GB, free: 19.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.4189, allocations: 97.51 MB / 0.6444 GB, free: 2.105 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.4191, allocations: 75.95 kB / 0.6445 GB, free: 2.031 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04781/0.467, allocations: 18.69 MB / 0.6627 GB, free: 15.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.467, allocations: 0 / 0.6627 GB, free: 15.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.467, allocations: 12 kB / 0.6628 GB, free: 15.17 MB / 490.7 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.002893/0.4699, allocations: 1.277 MB / 0.664 GB, free: 13.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.47, allocations: 11.97 kB / 0.664 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.4701, allocations: 102.5 kB / 0.6641 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.4717, allocations: 318.4 kB / 0.6644 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008905/0.4726, allocations: 0.5712 MB / 0.665 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.4728, allocations: 213.8 kB / 0.6652 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/0.4729, allocations: 59.8 kB / 0.6652 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.4739, allocations: 0.6511 MB / 0.6659 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.474, allocations: 0 / 0.6659 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.474, allocations: 24 kB / 0.6659 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.4741, allocations: 12 kB / 0.6659 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009198/0.475, allocations: 0.5597 MB / 0.6665 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.4791, allocations: 2.726 MB / 0.6691 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4802, allocations: 0.9271 MB / 0.67 GB, free: 7.312 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.4807, allocations: 377.4 kB / 0.6704 GB, free: 6.938 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.556e-05/0.4808, allocations: 12.55 kB / 0.6704 GB, free: 6.926 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007098/0.4815, allocations: 498.3 kB / 0.6709 GB, free: 6.426 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.4815, allocations: 0 / 0.6709 GB, free: 6.426 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.007738/0.4893, allocations: 2.645 MB / 0.6735 GB, free: 3.762 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.4893, allocations: 85.67 kB / 0.6735 GB, free: 3.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008297/0.4902, allocations: 0.6059 MB / 0.6741 GB, free: 3.043 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.73e-05/0.4903, allocations: 37.7 kB / 0.6742 GB, free: 3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.4905, allocations: 388.7 kB / 0.6745 GB, free: 2.617 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.4908, allocations: 232.5 kB / 0.6748 GB, free: 2.387 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.4908, allocations: 12 kB / 0.6748 GB, free: 2.375 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.491, allocations: 330 kB / 0.6751 GB, free: 2.047 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.4915, allocations: 293.5 kB / 0.6754 GB, free: 1.762 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.492, allocations: 403.5 kB / 0.6757 GB, free: 1.328 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.4925, allocations: 323.1 kB / 0.6761 GB, free: 1.012 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4925, allocations: 4 kB / 0.6761 GB, free: 1.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.2856/0.7781, allocations: 2.717 MB / 0.6787 GB, free: 109.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.7782, allocations: 10.5 kB / 0.6787 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.7782, allocations: 3.547 kB / 0.6787 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003949/0.7822, allocations: 1.07 MB / 0.6798 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.7827, allocations: 103 kB / 0.6799 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.7933, allocations: 5.405 MB / 0.6851 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.7943, allocations: 140.6 kB / 0.6853 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.7944, allocations: 31.28 kB / 0.6853 GB, free: 107.8 MB / 490.7 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 ($whenCondition1,$whenCondition2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {17 11} Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.7945, allocations: 134.2 kB / 0.6854 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.7947, allocations: 98.58 kB / 0.6855 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007085/0.8018, allocations: 2.727 MB / 0.6882 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.8018, allocations: 5.75 kB / 0.6882 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.8018, allocations: 0 / 0.6882 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.8018, allocations: 6.125 kB / 0.6882 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008381/0.8102, allocations: 3.972 MB / 0.6921 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.8103, allocations: 3.688 kB / 0.6921 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.8107, allocations: 84.14 kB / 0.6922 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002995/0.8137, allocations: 1.042 MB / 0.6932 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.406e-05/0.8138, allocations: 15.56 kB / 0.6932 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00796/0.8218, allocations: 4.821 MB / 0.6979 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.8218, allocations: 0 / 0.6979 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007775/0.8296, allocations: 3.267 MB / 0.7011 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.8299, allocations: 170.2 kB / 0.7013 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.83, allocations: 15.88 kB / 0.7013 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007583/0.8308, allocations: 105.2 kB / 0.7014 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/0.8312, allocations: 150.3 kB / 0.7015 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.8312, allocations: 18.78 kB / 0.7015 GB, free: 102.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004803/0.8317, allocations: 485.1 kB / 0.702 GB, free: 102 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8317, allocations: 0 / 0.702 GB, free: 102 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008652/0.8326, allocations: 307.6 kB / 0.7023 GB, free: 101.9 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.008546/0.8411, allocations: 3.902 MB / 0.7061 GB, free: 98.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003607/0.8448, allocations: 1.349 MB / 0.7074 GB, free: 97.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8448, allocations: 3.938 kB / 0.7074 GB, free: 97.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002631/0.8474, allocations: 1.022 MB / 0.7084 GB, free: 96.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.848, allocations: 55.97 kB / 0.7085 GB, free: 96.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.8506, allocations: 1.341 MB / 0.7098 GB, free: 95.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.851, allocations: 0.997 MB / 0.7108 GB, free: 94.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.8512, allocations: 46.62 kB / 0.7108 GB, free: 94.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.8515, allocations: 308.9 kB / 0.7111 GB, free: 93.85 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8515, allocations: 0 / 0.7111 GB, free: 93.85 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.8843, allocations: 21.44 MB / 0.732 GB, free: 74.09 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/0.8845, allocations: 158.5 kB / 0.7322 GB, free: 73.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/3.255, allocations: 3.984 kB / 0.7322 GB, free: 73.86 MB / 490.7 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/linux/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)