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/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Modelica_Synchronous 0.93.0/package.mo): time 0.1102/0.1102, allocations: 12.2 MB / 27.17 MB, free: 1.504 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009496, allocations: 99.58 kB / 30.68 MB, free: 4.863 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 239.5 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 184.5 kB / 290.6 MB, free: 11.64 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5083/0.5083, allocations: 78.53 MB / 420.1 MB, free: 11.62 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009695/0.0009698, allocations: 32 kB / 0.4896 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4271, allocations: 69.23 MB / 0.5572 GB, free: 21.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.00427/0.4314, allocations: 4.854 MB / 0.5619 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.4339, allocations: 1.331 MB / 0.5632 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.4343, allocations: 8 kB / 0.5632 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.4347, allocations: 119.1 kB / 0.5633 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00064/0.4353, allocations: 293.8 kB / 0.5636 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.4364, allocations: 0.5142 MB / 0.5641 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008355/0.4373, allocations: 0.9529 MB / 0.565 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.4376, allocations: 188.4 kB / 0.5652 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.438, allocations: 382.1 kB / 0.5656 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005003/0.4385, allocations: 481.8 kB / 0.566 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.4385, allocations: 36 kB / 0.5661 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.4388, allocations: 99.91 kB / 0.5662 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.4389, allocations: 155.2 kB / 0.5663 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.439, allocations: 173.2 kB / 0.5665 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.4396, allocations: 0.7907 MB / 0.5673 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4396, allocations: 0 / 0.5673 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4396, allocations: 0 / 0.5673 GB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.4397, allocations: 0 / 0.5673 GB, free: 10.64 MB / 382.1 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.00386/0.4435, allocations: 1.647 MB / 0.5689 GB, free: 8.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4436, allocations: 11.98 kB / 0.5689 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.4437, allocations: 98.52 kB / 0.569 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.446, allocations: 446.4 kB / 0.5694 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.4472, allocations: 0.6005 MB / 0.57 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/0.4475, allocations: 213.8 kB / 0.5702 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.4476, allocations: 51.94 kB / 0.5702 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.4492, allocations: 0.8188 MB / 0.571 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.4492, allocations: 4 kB / 0.571 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.4493, allocations: 20 kB / 0.5711 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.4493, allocations: 12 kB / 0.5711 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.4507, allocations: 0.7586 MB / 0.5718 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.4548, allocations: 2.73 MB / 0.5745 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.4561, allocations: 1.082 MB / 0.5755 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008561/0.457, allocations: 0.5226 MB / 0.576 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.541e-05/0.4571, allocations: 24.52 kB / 0.5761 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.4582, allocations: 0.6426 MB / 0.5767 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.136e-06/0.4583, allocations: 0 / 0.5767 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.01751/0.4758, allocations: 5.585 MB / 0.5822 GB, free: 10.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.4759, allocations: 85.67 kB / 0.5822 GB, free: 10.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.4771, allocations: 0.6964 MB / 0.5829 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.472e-05/0.4772, allocations: 37.7 kB / 0.583 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.4776, allocations: 384.8 kB / 0.5833 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.4779, allocations: 232.6 kB / 0.5835 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.478, allocations: 12.03 kB / 0.5836 GB, free: 9.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4781, allocations: 334 kB / 0.5839 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009131/0.479, allocations: 449.1 kB / 0.5843 GB, free: 8.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009958/0.48, allocations: 0.5527 MB / 0.5848 GB, free: 8.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009598/0.481, allocations: 478 kB / 0.5853 GB, free: 7.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.481, allocations: 3.953 kB / 0.5853 GB, free: 7.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008494/0.4895, allocations: 3.153 MB / 0.5884 GB, free: 4.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.4896, allocations: 8 kB / 0.5884 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.4896, allocations: 0 / 0.5884 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00401/0.4936, allocations: 1.283 MB / 0.5896 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.4941, allocations: 115.8 kB / 0.5897 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/0.5094, allocations: 6.882 MB / 0.5965 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.5106, allocations: 143.5 kB / 0.5966 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.5108, allocations: 27.98 kB / 0.5966 GB, free: 11.85 MB / 414.1 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 () * 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 {16 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005206/0.5113, allocations: 193.7 kB / 0.5968 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/0.5116, allocations: 90.83 kB / 0.5969 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008691/0.5203, allocations: 3.197 MB / 0.6 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.5204, allocations: 8 kB / 0.6 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5204, allocations: 0 / 0.6 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.5204, allocations: 3.984 kB / 0.6 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.5308, allocations: 4.392 MB / 0.6043 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.5309, allocations: 3.984 kB / 0.6043 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.5313, allocations: 95.78 kB / 0.6044 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003761/0.5351, allocations: 1.258 MB / 0.6057 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/0.5352, allocations: 12 kB / 0.6057 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/0.5481, allocations: 6.019 MB / 0.6115 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.5482, allocations: 3.938 kB / 0.6115 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009818/0.558, allocations: 3.837 MB / 0.6153 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.5584, allocations: 175.8 kB / 0.6155 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.5587, allocations: 15.95 kB / 0.6155 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009095/0.5596, allocations: 107.9 kB / 0.6156 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005444/0.5602, allocations: 148.2 kB / 0.6157 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.163e-05/0.5603, allocations: 19.94 kB / 0.6157 GB, free: 7.953 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009069/0.5612, allocations: 0.4912 MB / 0.6162 GB, free: 7.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5612, allocations: 0 / 0.6162 GB, free: 7.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001356/0.5626, allocations: 295.7 kB / 0.6165 GB, free: 7.176 MB / 430.1 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 (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 Backend phase and start with SimCode phase: time 0.01027/0.5729, allocations: 4.389 MB / 0.6208 GB, free: 2.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004239/0.5772, allocations: 1.66 MB / 0.6224 GB, free: 1.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.5772, allocations: 4 kB / 0.6224 GB, free: 1.066 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002945/0.5802, allocations: 1.18 MB / 0.6236 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5812, allocations: 82.91 kB / 0.6236 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/0.599, allocations: 7.866 MB / 0.6313 GB, free: 7.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/0.5999, allocations: 0.9709 MB / 0.6323 GB, free: 6.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003438/0.6002, allocations: 69.12 kB / 0.6323 GB, free: 6.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/0.6008, allocations: 315.3 kB / 0.6326 GB, free: 6.352 MB / 446.1 MB Notification: Performance of SimCode: time 2.124e-06/0.6008, allocations: 0 / 0.6326 GB, free: 6.352 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04737/0.6482, allocations: 21.74 MB / 0.6539 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.6484, allocations: 192.2 kB / 0.654 GB, free: 488 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.115, allocations: 0 / 0.654 GB, free: 488 kB / 462.1 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) Environment - environmentSimulation: