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-master/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-master/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: translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 181 kB / 15.98 MB, free: 5.77 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.332/1.332, allocations: 205.1 MB / 221.8 MB, free: 8.461 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.0009535/0.0009532, allocations: 100.1 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06771/0.06771, allocations: 12.59 MB / 329.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2858/0.2858, allocations: 78.52 MB / 457.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 109.6 kB / 0.5254 GB, free: 19.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1153, allocations: 68.13 MB / 0.592 GB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006347/0.1217, allocations: 5.576 MB / 0.5974 GB, free: 10.05 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.1243, allocations: 1.408 MB / 0.5988 GB, free: 8.633 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003482/0.1247, allocations: 8 kB / 0.5988 GB, free: 8.625 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.125, allocations: 131.1 kB / 0.5989 GB, free: 8.496 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006046/0.1257, allocations: 270.1 kB / 0.5992 GB, free: 8.23 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1269, allocations: 0.596 MB / 0.5998 GB, free: 7.637 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009267/0.1279, allocations: 1.031 MB / 0.6008 GB, free: 6.602 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.1282, allocations: 204.4 kB / 0.601 GB, free: 6.391 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/0.1286, allocations: 406.1 kB / 0.6014 GB, free: 5.992 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000547/0.1292, allocations: 0.5015 MB / 0.6018 GB, free: 5.488 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.713e-05/0.1292, allocations: 48 kB / 0.6019 GB, free: 5.441 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.1295, allocations: 107.9 kB / 0.602 GB, free: 5.336 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.1297, allocations: 175.1 kB / 0.6022 GB, free: 5.164 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.13, allocations: 433.2 kB / 0.6026 GB, free: 4.738 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000865/0.1309, allocations: 1.047 MB / 0.6036 GB, free: 3.688 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1309, allocations: 0 / 0.6036 GB, free: 3.688 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1309, allocations: 4 kB / 0.6036 GB, free: 3.684 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.1309, allocations: 0 / 0.6036 GB, free: 3.684 MB / 394.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.00476/0.1357, allocations: 1.756 MB / 0.6053 GB, free: 1.875 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1357, allocations: 15.92 kB / 0.6053 GB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/0.1382, allocations: 450.6 kB / 0.6058 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009075/0.1392, allocations: 0.6233 MB / 0.6064 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.1394, allocations: 197.8 kB / 0.6066 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.1395, allocations: 56 kB / 0.6066 GB, free: 484 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.141, allocations: 0.768 MB / 0.6074 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1411, allocations: 0 / 0.6074 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.517e-05/0.1411, allocations: 27.98 kB / 0.6074 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.1412, allocations: 23.92 kB / 0.6074 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.1427, allocations: 0.6961 MB / 0.6081 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.147, allocations: 2.683 MB / 0.6107 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.1486, allocations: 1.046 MB / 0.6117 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009488/0.1495, allocations: 479.2 kB / 0.6122 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.64e-05/0.1496, allocations: 12.56 kB / 0.6122 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.1508, allocations: 0.588 MB / 0.6128 GB, free: 9.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 2.475e-06/0.1508, allocations: 0 / 0.6128 GB, free: 9.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.01909/0.1699, allocations: 4.612 MB / 0.6173 GB, free: 5.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.17, allocations: 81.67 kB / 0.6174 GB, free: 5.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009183/0.171, allocations: 0.7158 MB / 0.6181 GB, free: 4.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.1711, allocations: 33.7 kB / 0.6181 GB, free: 4.352 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.1714, allocations: 384.8 kB / 0.6185 GB, free: 3.973 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.1716, allocations: 232.6 kB / 0.6187 GB, free: 3.742 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.1719, allocations: 106.3 kB / 0.6188 GB, free: 3.633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.172, allocations: 330 kB / 0.6191 GB, free: 3.305 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009259/0.1729, allocations: 405.1 kB / 0.6195 GB, free: 2.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009808/0.1739, allocations: 0.502 MB / 0.62 GB, free: 2.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.1758, allocations: 0.9159 MB / 0.6209 GB, free: 1.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1758, allocations: 0 / 0.6209 GB, free: 1.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008939/0.1848, allocations: 2.59 MB / 0.6234 GB, free: 14.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.1848, allocations: 7.938 kB / 0.6234 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1848, allocations: 7.938 kB / 0.6234 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004182/0.189, allocations: 1.128 MB / 0.6245 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.1895, allocations: 95.83 kB / 0.6246 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/0.2053, allocations: 6.239 MB / 0.6307 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.2063, allocations: 103.5 kB / 0.6308 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.2065, allocations: 27.98 kB / 0.6308 GB, free: 7.062 MB / 426.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 ($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.0004586/0.2069, allocations: 201.7 kB / 0.631 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.2072, allocations: 90.88 kB / 0.6311 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009111/0.2163, allocations: 2.623 MB / 0.6337 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.2164, allocations: 8 kB / 0.6337 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2164, allocations: 0 / 0.6337 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.2164, allocations: 11.92 kB / 0.6337 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.2268, allocations: 3.838 MB / 0.6374 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.2269, allocations: 0 / 0.6374 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.2273, allocations: 79.89 kB / 0.6375 GB, free: 68 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2153/0.4426, allocations: 1.066 MB / 0.6385 GB, free: 51.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.4428, allocations: 18.7 kB / 0.6386 GB, free: 51.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.4558, allocations: 5.487 MB / 0.6439 GB, free: 49.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4559, allocations: 1.344 kB / 0.6439 GB, free: 49.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06241/0.5183, allocations: 22.49 MB / 0.6659 GB, free: 39.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.5186, allocations: 180.8 kB / 0.666 GB, free: 39.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.5188, allocations: 8 kB / 0.6661 GB, free: 39.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/0.5196, allocations: 75.16 kB / 0.6661 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004698/0.5201, allocations: 143.2 kB / 0.6663 GB, free: 39.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.5202, allocations: 20.31 kB / 0.6663 GB, free: 39.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005012/0.5207, allocations: 0.4956 MB / 0.6668 GB, free: 38.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5207, allocations: 0 / 0.6668 GB, free: 38.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001187/0.5219, allocations: 430.7 kB / 0.6672 GB, free: 38.82 MB / 426.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 () * 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.0001535/0.522, allocations: 110.9 kB / 0.6673 GB, free: 38.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003838/0.5259, allocations: 1.505 MB / 0.6688 GB, free: 37.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5259, allocations: 0 / 0.6688 GB, free: 37.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002779/0.5287, allocations: 1.031 MB / 0.6698 GB, free: 36.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.5293, allocations: 81.02 kB / 0.6698 GB, free: 36.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005357/0.5347, allocations: 2.821 MB / 0.6726 GB, free: 33.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.5351, allocations: 1.002 MB / 0.6736 GB, free: 32.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000262/0.5354, allocations: 65.14 kB / 0.6736 GB, free: 32.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.5355, allocations: 51.42 kB / 0.6737 GB, free: 32.63 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5355, allocations: 0 / 0.6737 GB, free: 32.63 MB / 426.7 MB Notification: Performance of Templates: time 0.02469/0.5602, allocations: 21.91 MB / 0.6951 GB, free: 10.76 MB / 426.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)