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.001046/0.001046, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.3 MB / 213.4 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008902/0.0008899, allocations: 78.72 kB / 261.4 MB, free: 1.703 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06821/0.06821, allocations: 12.2 MB / 321.5 MB, free: 15.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4315/0.4315, allocations: 78.04 MB / 450.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 2.625 kB / 0.5142 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1925, allocations: 69.25 MB / 0.5819 GB, free: 1.309 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.3735, allocations: 97.72 MB / 0.6773 GB, free: 15.45 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/0.374, allocations: 75.97 kB / 0.6774 GB, free: 15.38 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5686/0.9426, allocations: 17.68 MB / 0.6946 GB, free: 97.36 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.9426, allocations: 0 / 0.6946 GB, free: 97.36 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.346e-05/0.9427, allocations: 14.91 kB / 0.6946 GB, free: 97.36 MB / 474.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.003799/0.9465, allocations: 1.274 MB / 0.6959 GB, free: 96.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.019e-05/0.9466, allocations: 9.609 kB / 0.6959 GB, free: 96.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.9486, allocations: 326.3 kB / 0.6962 GB, free: 96.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.9499, allocations: 0.5708 MB / 0.6968 GB, free: 96.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.9502, allocations: 194 kB / 0.6969 GB, free: 96.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.9504, allocations: 30.34 kB / 0.697 GB, free: 96.29 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001286/0.9517, allocations: 0.5289 MB / 0.6975 GB, free: 96.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.953, allocations: 0.5818 MB / 0.6981 GB, free: 96.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.953, allocations: 0 / 0.6981 GB, free: 96.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/0.9531, allocations: 0.5625 kB / 0.6981 GB, free: 96.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.9531, allocations: 14.81 kB / 0.6981 GB, free: 96.21 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/0.9587, allocations: 2.634 MB / 0.7006 GB, free: 95.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.96, allocations: 0.9043 MB / 0.7015 GB, free: 94.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007023/0.9607, allocations: 361.2 kB / 0.7019 GB, free: 94.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.605e-05/0.9608, allocations: 14.88 kB / 0.7019 GB, free: 94.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.9619, allocations: 477.7 kB / 0.7023 GB, free: 94.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=66): time 2.946e-06/0.9619, allocations: 224 / 0.7023 GB, free: 94.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=66): time 0.008886/0.9708, allocations: 2.597 MB / 0.7049 GB, free: 94.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.9708, allocations: 88.2 kB / 0.705 GB, free: 94.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009666/0.9718, allocations: 0.5556 MB / 0.7055 GB, free: 94.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/0.9719, allocations: 26.33 kB / 0.7055 GB, free: 94.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.9723, allocations: 377.8 kB / 0.7059 GB, free: 94.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.9725, allocations: 226.1 kB / 0.7061 GB, free: 93.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.9726, allocations: 0.5 kB / 0.7061 GB, free: 93.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9727, allocations: 329.9 kB / 0.7064 GB, free: 93.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005865/0.9733, allocations: 278.4 kB / 0.7067 GB, free: 93.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.974, allocations: 392.5 kB / 0.7071 GB, free: 93.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000597/0.9746, allocations: 305.8 kB / 0.7074 GB, free: 93.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.9746, allocations: 1 kB / 0.7074 GB, free: 93.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007737/0.9823, allocations: 2.671 MB / 0.71 GB, free: 93.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.9824, allocations: 3.969 kB / 0.71 GB, free: 93.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.9824, allocations: 3.969 kB / 0.71 GB, free: 93.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003434/0.9859, allocations: 1.043 MB / 0.711 GB, free: 93.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.9864, allocations: 106.3 kB / 0.7111 GB, free: 93.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009784/0.9962, allocations: 5.239 MB / 0.7162 GB, free: 90.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.9974, allocations: 127 kB / 0.7163 GB, free: 90.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.9975, allocations: 26.59 kB / 0.7164 GB, free: 90.62 MB / 474.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.0002224/0.9978, allocations: 116.1 kB / 0.7165 GB, free: 90.5 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007438/1.005, allocations: 2.597 MB / 0.719 GB, free: 89.94 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/1.006, allocations: 84.5 kB / 0.7191 GB, free: 89.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007255/1.013, allocations: 2.677 MB / 0.7217 GB, free: 88.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.013, allocations: 7.047 kB / 0.7217 GB, free: 88.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.013, allocations: 8 kB / 0.7217 GB, free: 88.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.013, allocations: 3.609 kB / 0.7217 GB, free: 88.31 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00857/1.021, allocations: 3.833 MB / 0.7255 GB, free: 85.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.021, allocations: 0 / 0.7255 GB, free: 85.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/1.022, allocations: 88.64 kB / 0.7255 GB, free: 85.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003283/1.025, allocations: 1.037 MB / 0.7266 GB, free: 84.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.538e-05/1.025, allocations: 0 / 0.7266 GB, free: 84.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008202/1.033, allocations: 4.709 MB / 0.7311 GB, free: 79.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.033, allocations: 0 / 0.7311 GB, free: 79.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007806/1.041, allocations: 3.21 MB / 0.7343 GB, free: 76.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/1.042, allocations: 176 kB / 0.7345 GB, free: 75.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/1.042, allocations: 0 / 0.7345 GB, free: 75.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008798/1.043, allocations: 99.84 kB / 0.7345 GB, free: 75.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004091/1.043, allocations: 144.3 kB / 0.7347 GB, free: 75.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-05/1.043, allocations: 19.98 kB / 0.7347 GB, free: 75.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006504/1.044, allocations: 443.1 kB / 0.7351 GB, free: 75.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.044, allocations: 0 / 0.7351 GB, free: 75.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001195/1.045, allocations: 283.5 kB / 0.7354 GB, free: 74.87 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.008014/1.053, allocations: 3.823 MB / 0.7391 GB, free: 71.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003011/1.056, allocations: 1.299 MB / 0.7404 GB, free: 69.72 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.056, allocations: 128 / 0.7404 GB, free: 69.72 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00235/1.059, allocations: 0.9825 MB / 0.7414 GB, free: 68.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/1.059, allocations: 51.25 kB / 0.7414 GB, free: 68.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/1.062, allocations: 1.296 MB / 0.7427 GB, free: 67.35 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/1.063, allocations: 0.9933 MB / 0.7436 GB, free: 66.33 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002299/1.063, allocations: 44.56 kB / 0.7437 GB, free: 66.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/1.063, allocations: 307.3 kB / 0.744 GB, free: 65.99 MB / 474.7 MB Notification: Performance of SimCode: time 5.41e-07/1.063, allocations: 0 / 0.744 GB, free: 65.99 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04357/1.107, allocations: 19.91 MB / 0.7634 GB, free: 46.22 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/1.107, allocations: 123.9 kB / 0.7635 GB, free: 46.02 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.715, allocations: 32 / 0.7635 GB, free: 46.02 MB / 474.7 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/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)