Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_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.01054/0.01054, allocations: 170.6 kB / 15.11 MB, free: 5.988 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.436/1.436, allocations: 223.2 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 99.69 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5803/0.5803, allocations: 78.52 MB / 419.8 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006059/0.0006058, allocations: 8 kB / 499.8 MB, free: 2.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5409/0.5416, allocations: 69.35 MB / 0.5558 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.6898, allocations: 96.99 MB / 0.6505 GB, free: 9.383 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.6902, allocations: 79.97 kB / 0.6506 GB, free: 9.305 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05192/0.7422, allocations: 18.56 MB / 0.6687 GB, free: 6.633 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7422, allocations: 0 / 0.6687 GB, free: 6.633 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.928e-05/0.7423, allocations: 16 kB / 0.6687 GB, free: 6.617 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.00369/0.746, allocations: 1.456 MB / 0.6701 GB, free: 5.105 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.746, allocations: 12.03 kB / 0.6702 GB, free: 5.094 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.7462, allocations: 94.52 kB / 0.6703 GB, free: 4.992 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.7479, allocations: 322.5 kB / 0.6706 GB, free: 4.676 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.749, allocations: 0.582 MB / 0.6711 GB, free: 4.055 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.7492, allocations: 209.8 kB / 0.6713 GB, free: 3.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.7494, allocations: 55.95 kB / 0.6714 GB, free: 3.766 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.7509, allocations: 0.8071 MB / 0.6722 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.751, allocations: 0 / 0.6722 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/0.7511, allocations: 27.98 kB / 0.6722 GB, free: 2.918 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.7511, allocations: 19.98 kB / 0.6722 GB, free: 2.898 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.7526, allocations: 0.7586 MB / 0.673 GB, free: 2.137 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/0.7574, allocations: 2.73 MB / 0.6756 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.7591, allocations: 1.089 MB / 0.6767 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.636e-05/0.7592, allocations: 8.562 kB / 0.6767 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/0.7605, allocations: 0.6349 MB / 0.6773 GB, free: 13.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 2.775e-06/0.7605, allocations: 4 kB / 0.6773 GB, free: 13.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.01749/0.778, allocations: 5.164 MB / 0.6824 GB, free: 8.184 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.7781, allocations: 89.7 kB / 0.6824 GB, free: 8.078 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.7792, allocations: 0.6136 MB / 0.683 GB, free: 7.453 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.7793, allocations: 37.7 kB / 0.6831 GB, free: 7.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.7796, allocations: 376.8 kB / 0.6834 GB, free: 7.039 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.7799, allocations: 240.6 kB / 0.6837 GB, free: 6.801 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.78, allocations: 11.94 kB / 0.6837 GB, free: 6.789 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7801, allocations: 334 kB / 0.684 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009282/0.7811, allocations: 453.1 kB / 0.6844 GB, free: 6.016 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000974/0.782, allocations: 0.5459 MB / 0.685 GB, free: 5.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.783, allocations: 485.9 kB / 0.6854 GB, free: 4.953 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.783, allocations: 3.938 kB / 0.6854 GB, free: 4.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009259/0.7923, allocations: 3.149 MB / 0.6885 GB, free: 1.789 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.7924, allocations: 8 kB / 0.6885 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.7924, allocations: 0 / 0.6885 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004285/0.7967, allocations: 1.309 MB / 0.6898 GB, free: 484 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.7972, allocations: 99.88 kB / 0.6899 GB, free: 384 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.8135, allocations: 7.167 MB / 0.6969 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.8148, allocations: 143.5 kB / 0.697 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.8148, allocations: 31.94 kB / 0.6971 GB, free: 8.902 MB / 0.4948 GB 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 () * 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 (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.0004597/0.8153, allocations: 197.7 kB / 0.6972 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.8155, allocations: 90.88 kB / 0.6973 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009014/0.8245, allocations: 3.146 MB / 0.7004 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.8246, allocations: 8 kB / 0.7004 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8246, allocations: 3.984 kB / 0.7004 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.8246, allocations: 0 / 0.7004 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.8355, allocations: 4.4 MB / 0.7047 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.8356, allocations: 0 / 0.7047 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.8361, allocations: 83.89 kB / 0.7048 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004003/0.8401, allocations: 1.269 MB / 0.706 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.8402, allocations: 16 kB / 0.706 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/0.8538, allocations: 6.323 MB / 0.7122 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8539, allocations: 0 / 0.7122 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.8642, allocations: 3.843 MB / 0.716 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/0.8648, allocations: 179.9 kB / 0.7161 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.8649, allocations: 12 kB / 0.7162 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007999/0.8657, allocations: 107.9 kB / 0.7163 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/0.8662, allocations: 144.3 kB / 0.7164 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.023e-05/0.8663, allocations: 23.98 kB / 0.7164 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007037/0.867, allocations: 495 kB / 0.7169 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.9e-07/0.867, allocations: 0 / 0.7169 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001042/0.868, allocations: 311.6 kB / 0.7172 GB, free: 3.934 MB / 0.5105 GB 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 (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.01111/0.8792, allocations: 4.487 MB / 0.7216 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004554/0.8838, allocations: 1.68 MB / 0.7232 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.8838, allocations: 0 / 0.7232 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003196/0.887, allocations: 1.184 MB / 0.7244 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/0.8878, allocations: 71.12 kB / 0.7244 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/0.9062, allocations: 9.619 MB / 0.7338 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.9069, allocations: 0.9976 MB / 0.7348 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003212/0.9072, allocations: 56.53 kB / 0.7349 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/0.9077, allocations: 303.3 kB / 0.7351 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of SimCode: time 7.374e-06/0.9077, allocations: 4 kB / 0.7351 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04174/0.9494, allocations: 21.48 MB / 0.7561 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.9497, allocations: 182.2 kB / 0.7563 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.646, allocations: 0 / 0.7563 GB, free: 11.7 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)