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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, 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 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008267/0.0008269, allocations: 94.09 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0744/0.0744, allocations: 12.19 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2984/0.2984, allocations: 78.02 MB / 455.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.47e-05/3.495e-05, allocations: 4 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1383, allocations: 69.24 MB / 0.5889 GB, free: 2.957 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4501/0.5884, allocations: 98.39 MB / 0.685 GB, free: 1.871 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.5887, allocations: 73.91 kB / 0.6851 GB, free: 1.836 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04935/0.638, allocations: 17.9 MB / 0.7026 GB, free: 2.723 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6381, allocations: 4 kB / 0.7026 GB, free: 2.719 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.939e-05/0.6382, allocations: 12 kB / 0.7026 GB, free: 2.707 MB / 442.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.003788/0.642, allocations: 1.277 MB / 0.7038 GB, free: 1.469 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.642, allocations: 11.98 kB / 0.7038 GB, free: 1.457 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002638/0.6423, allocations: 97.52 kB / 0.7039 GB, free: 1.387 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.6442, allocations: 331.2 kB / 0.7042 GB, free: 1.086 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.6455, allocations: 0.5889 MB / 0.7048 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/0.6458, allocations: 203.9 kB / 0.705 GB, free: 352 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.6459, allocations: 49.38 kB / 0.7051 GB, free: 320 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.6472, allocations: 0.6557 MB / 0.7057 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.6473, allocations: 0 / 0.7057 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/0.6473, allocations: 25.38 kB / 0.7057 GB, free: 15.87 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.6474, allocations: 15.98 kB / 0.7057 GB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.6484, allocations: 0.5532 MB / 0.7063 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/0.6533, allocations: 2.734 MB / 0.709 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.6544, allocations: 0.9242 MB / 0.7099 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.655, allocations: 377.7 kB / 0.7102 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.709e-05/0.6551, allocations: 16.53 kB / 0.7102 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000767/0.6558, allocations: 495.5 kB / 0.7107 GB, free: 11.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 2.775e-06/0.6558, allocations: 0 / 0.7107 GB, free: 11.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.00812/0.664, allocations: 2.635 MB / 0.7133 GB, free: 9.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.6641, allocations: 85.67 kB / 0.7134 GB, free: 9.488 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.6651, allocations: 0.6042 MB / 0.7139 GB, free: 9.016 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.6653, allocations: 44.75 kB / 0.714 GB, free: 8.977 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.6656, allocations: 385.3 kB / 0.7144 GB, free: 8.758 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.6659, allocations: 235.6 kB / 0.7146 GB, free: 8.555 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.666, allocations: 8.375 kB / 0.7146 GB, free: 8.555 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.6661, allocations: 335 kB / 0.7149 GB, free: 8.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.6667, allocations: 290.5 kB / 0.7152 GB, free: 8.074 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/0.6673, allocations: 406.6 kB / 0.7156 GB, free: 7.781 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/0.668, allocations: 314.5 kB / 0.7159 GB, free: 7.602 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.668, allocations: 4 kB / 0.7159 GB, free: 7.598 MB / 458.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008323/0.6763, allocations: 2.738 MB / 0.7186 GB, free: 5.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.6764, allocations: 8 kB / 0.7186 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.6764, allocations: 4 kB / 0.7186 GB, free: 5.219 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003667/0.68, allocations: 1.062 MB / 0.7196 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.6806, allocations: 115.6 kB / 0.7197 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.6915, allocations: 5.406 MB / 0.725 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.6928, allocations: 150.4 kB / 0.7251 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.6929, allocations: 23.73 kB / 0.7252 GB, free: 140 kB / 458.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.0002572/0.6932, allocations: 135 kB / 0.7253 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.6935, allocations: 86.97 kB / 0.7254 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008152/0.7017, allocations: 2.732 MB / 0.728 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.7017, allocations: 8 kB / 0.728 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-06/0.7017, allocations: 0 / 0.728 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.7017, allocations: 7.969 kB / 0.7281 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009777/0.7115, allocations: 3.978 MB / 0.7319 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.7115, allocations: 0 / 0.7319 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.712, allocations: 87.64 kB / 0.732 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00339/0.7154, allocations: 1.033 MB / 0.733 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.904e-05/0.7155, allocations: 18.42 kB / 0.733 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.7257, allocations: 4.814 MB / 0.7377 GB, free: 5.684 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7258, allocations: 0 / 0.7377 GB, free: 5.684 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00963/0.7354, allocations: 3.259 MB / 0.7409 GB, free: 2.598 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/0.736, allocations: 179.8 kB / 0.7411 GB, free: 2.402 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.7362, allocations: 19.98 kB / 0.7411 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009889/0.7372, allocations: 99.92 kB / 0.7412 GB, free: 2.285 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004701/0.7377, allocations: 152.2 kB / 0.7414 GB, free: 2.137 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/0.7378, allocations: 24 kB / 0.7414 GB, free: 2.113 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007854/0.7386, allocations: 491.1 kB / 0.7419 GB, free: 1.637 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7386, allocations: 4 kB / 0.7419 GB, free: 1.633 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001177/0.7397, allocations: 295.7 kB / 0.7421 GB, free: 1.344 MB / 474.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.009634/0.7494, allocations: 3.914 MB / 0.746 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003733/0.7532, allocations: 1.341 MB / 0.7473 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7532, allocations: 0 / 0.7473 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002831/0.756, allocations: 1.015 MB / 0.7483 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.7568, allocations: 70.61 kB / 0.7483 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.7606, allocations: 1.35 MB / 0.7496 GB, free: 9.555 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/0.7614, allocations: 0.9933 MB / 0.7506 GB, free: 8.531 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002761/0.7616, allocations: 48.55 kB / 0.7507 GB, free: 8.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.7621, allocations: 311.3 kB / 0.751 GB, free: 8.176 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.7621, allocations: 0 / 0.751 GB, free: 8.176 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04655/0.8087, allocations: 21.43 MB / 0.7719 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.809, allocations: 164.7 kB / 0.772 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.194, allocations: 4 kB / 0.7721 GB, free: 2.586 MB / 0.4948 GB (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/linux/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)