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.08844/0.08844, allocations: 12.19 MB / 27.43 MB, free: 1.379 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.001038/0.001038, allocations: 119.4 kB / 30.94 MB, free: 4.656 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.542/1.542, allocations: 205.1 MB / 239.4 MB, free: 12.94 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.001739/0.001739, allocations: 192.5 kB / 289.6 MB, free: 14.08 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.456/0.456, allocations: 78.51 MB / 418.1 MB, free: 11.98 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.002378/0.002378, allocations: 127.7 kB / 498.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3549, allocations: 68.02 MB / 0.5533 GB, free: 32.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006303/0.3613, allocations: 5.575 MB / 0.5587 GB, free: 28.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.3642, allocations: 1.405 MB / 0.5601 GB, free: 27.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000422/0.3647, allocations: 7.75 kB / 0.5601 GB, free: 27.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004698/0.3652, allocations: 130.8 kB / 0.5602 GB, free: 27.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006631/0.3658, allocations: 282.1 kB / 0.5605 GB, free: 27.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3672, allocations: 0.5937 MB / 0.5611 GB, free: 26.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.3682, allocations: 1.05 MB / 0.5621 GB, free: 26.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.3686, allocations: 236 kB / 0.5623 GB, free: 26.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.3691, allocations: 448 kB / 0.5627 GB, free: 26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.3696, allocations: 0.5231 MB / 0.5632 GB, free: 25.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.3698, allocations: 76.09 kB / 0.5633 GB, free: 25.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.3701, allocations: 144.7 kB / 0.5635 GB, free: 25.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3702, allocations: 208.1 kB / 0.5637 GB, free: 25.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.3706, allocations: 475 kB / 0.5641 GB, free: 25.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008953/0.3715, allocations: 1.067 MB / 0.5651 GB, free: 24.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3715, allocations: 1.531 kB / 0.5651 GB, free: 24.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3715, allocations: 0 / 0.5651 GB, free: 24.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.3715, allocations: 0 / 0.5651 GB, free: 24.29 MB / 398.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.004884/0.3764, allocations: 1.759 MB / 0.5669 GB, free: 23.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.3765, allocations: 13.55 kB / 0.5669 GB, free: 23.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.3766, allocations: 96.52 kB / 0.567 GB, free: 23.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/0.3793, allocations: 449 kB / 0.5674 GB, free: 22.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.3803, allocations: 0.6241 MB / 0.568 GB, free: 22.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.3805, allocations: 202.7 kB / 0.5682 GB, free: 22.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.3807, allocations: 54.73 kB / 0.5683 GB, free: 22.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.3823, allocations: 0.773 MB / 0.569 GB, free: 21.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.3823, allocations: 0 / 0.569 GB, free: 21.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.3824, allocations: 24.88 kB / 0.569 GB, free: 21.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.3824, allocations: 12.56 kB / 0.569 GB, free: 21.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.384, allocations: 0.6951 MB / 0.5697 GB, free: 21.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.3882, allocations: 2.69 MB / 0.5723 GB, free: 19.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.3896, allocations: 1.034 MB / 0.5734 GB, free: 18.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009367/0.3906, allocations: 486.6 kB / 0.5738 GB, free: 18.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-05/0.3907, allocations: 11.31 kB / 0.5738 GB, free: 18.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.392, allocations: 0.5928 MB / 0.5744 GB, free: 17.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.344e-06/0.392, allocations: 3.938 kB / 0.5744 GB, free: 17.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.01676/0.4087, allocations: 4.604 MB / 0.5789 GB, free: 13.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.4088, allocations: 93.69 kB / 0.579 GB, free: 13.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/0.4097, allocations: 0.7041 MB / 0.5797 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.4097, allocations: 37.69 kB / 0.5797 GB, free: 12.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.4099, allocations: 380.8 kB / 0.5801 GB, free: 12.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.4102, allocations: 228.6 kB / 0.5803 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.4104, allocations: 110.3 kB / 0.5804 GB, free: 11.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.4104, allocations: 326 kB / 0.5807 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007665/0.4112, allocations: 409.1 kB / 0.5811 GB, free: 11.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008307/0.4121, allocations: 0.5073 MB / 0.5816 GB, free: 10.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.4137, allocations: 0.9199 MB / 0.5825 GB, free: 9.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4137, allocations: 0 / 0.5825 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00747/0.4212, allocations: 2.586 MB / 0.585 GB, free: 7.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4212, allocations: 12 kB / 0.585 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4212, allocations: 7.984 kB / 0.5851 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003692/0.4249, allocations: 1.12 MB / 0.5861 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.4254, allocations: 103.8 kB / 0.5862 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/0.4392, allocations: 6.771 MB / 0.5929 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.4403, allocations: 111.5 kB / 0.593 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.4404, allocations: 28 kB / 0.593 GB, free: 14.82 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 ($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.0003851/0.4408, allocations: 209.6 kB / 0.5932 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.4409, allocations: 82.97 kB / 0.5933 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008411/0.4494, allocations: 2.626 MB / 0.5958 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.4494, allocations: 11.94 kB / 0.5958 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4494, allocations: 0 / 0.5958 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.4494, allocations: 3.984 kB / 0.5958 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00979/0.4592, allocations: 3.834 MB / 0.5996 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4592, allocations: 0 / 0.5996 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.4596, allocations: 75.89 kB / 0.5997 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003753/0.4634, allocations: 1.082 MB / 0.6007 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/0.4635, allocations: 16 kB / 0.6007 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/0.4774, allocations: 6.02 MB / 0.6066 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.4774, allocations: 8 kB / 0.6066 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009567/0.487, allocations: 3.22 MB / 0.6098 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.4874, allocations: 179.8 kB / 0.6099 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.4876, allocations: 11.98 kB / 0.6099 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009255/0.4886, allocations: 75.92 kB / 0.61 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004337/0.489, allocations: 144.4 kB / 0.6102 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.4891, allocations: 23.98 kB / 0.6102 GB, free: 12.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007337/0.4898, allocations: 0.4912 MB / 0.6107 GB, free: 12.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4898, allocations: 0 / 0.6107 GB, free: 12.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001131/0.491, allocations: 295.7 kB / 0.6109 GB, free: 12.08 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 (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.009934/0.5009, allocations: 3.784 MB / 0.6146 GB, free: 8.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004476/0.5054, allocations: 1.552 MB / 0.6162 GB, free: 6.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.5055, allocations: 0 / 0.6162 GB, free: 6.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003301/0.5088, allocations: 1.057 MB / 0.6172 GB, free: 5.621 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.5101, allocations: 83.23 kB / 0.6173 GB, free: 5.543 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02826/0.5384, allocations: 11.08 MB / 0.6281 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/0.5393, allocations: 0.9748 MB / 0.629 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003687/0.5397, allocations: 69.12 kB / 0.6291 GB, free: 9.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/0.5402, allocations: 323.2 kB / 0.6294 GB, free: 8.797 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/0.5403, allocations: 7.938 kB / 0.6294 GB, free: 8.789 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05449/0.5948, allocations: 23.35 MB / 0.6522 GB, free: 1.531 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.595, allocations: 219.1 kB / 0.6524 GB, free: 1.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.11, allocations: 0 / 0.6524 GB, free: 1.27 MB / 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/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)