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.08523/0.08523, allocations: 12.2 MB / 27.16 MB, free: 0.8516 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.0008192/0.0008192, allocations: 98.25 kB / 30.66 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.458/1.458, allocations: 205.4 MB / 239.5 MB, free: 10.91 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 173.2 kB / 290.6 MB, free: 8.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4734/0.4734, allocations: 78.5 MB / 420.1 MB, free: 6.637 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.0008634/0.0008636, allocations: 29.41 kB / 0.4895 GB, free: 37.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1238, allocations: 69.25 MB / 0.5571 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004595/0.1284, allocations: 4.603 MB / 0.5616 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.131, allocations: 1.37 MB / 0.5629 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.1314, allocations: 8 kB / 0.5629 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1318, allocations: 123 kB / 0.5631 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.1324, allocations: 338.9 kB / 0.5634 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1336, allocations: 0.5174 MB / 0.5639 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00083/0.1344, allocations: 0.686 MB / 0.5646 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.1347, allocations: 185.7 kB / 0.5647 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003613/0.1351, allocations: 374.5 kB / 0.5651 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005334/0.1356, allocations: 466 kB / 0.5655 GB, free: 92 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.217e-05/0.1357, allocations: 40 kB / 0.5656 GB, free: 52 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.1359, allocations: 95.89 kB / 0.5657 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1361, allocations: 159.2 kB / 0.5658 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1362, allocations: 173.2 kB / 0.566 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.1369, allocations: 0.7561 MB / 0.5667 GB, free: 14.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.1369, allocations: 0 / 0.5667 GB, free: 14.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1369, allocations: 0 / 0.5667 GB, free: 14.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.1369, allocations: 0 / 0.5667 GB, free: 14.87 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.004687/0.1416, allocations: 1.655 MB / 0.5683 GB, free: 13.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1416, allocations: 15.98 kB / 0.5684 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.1418, allocations: 94.52 kB / 0.5685 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.1444, allocations: 442.4 kB / 0.5689 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.1454, allocations: 0.6006 MB / 0.5695 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002474/0.1457, allocations: 209.8 kB / 0.5697 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.264e-05/0.1458, allocations: 56 kB / 0.5697 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.1474, allocations: 0.811 MB / 0.5705 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1474, allocations: 0 / 0.5705 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.1475, allocations: 20 kB / 0.5705 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1475, allocations: 12 kB / 0.5705 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.1491, allocations: 0.7586 MB / 0.5713 GB, free: 10.06 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004931/0.154, allocations: 3.047 MB / 0.5743 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.1556, allocations: 1.086 MB / 0.5753 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-05/0.1557, allocations: 12.55 kB / 0.5753 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.1569, allocations: 0.6388 MB / 0.5759 GB, free: 4.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.464e-06/0.1569, allocations: 0 / 0.5759 GB, free: 4.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.01969/0.1766, allocations: 5.585 MB / 0.5814 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.1767, allocations: 85.67 kB / 0.5815 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.1778, allocations: 0.7041 MB / 0.5822 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.178, allocations: 37.73 kB / 0.5822 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.1783, allocations: 384.8 kB / 0.5826 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.1786, allocations: 224.6 kB / 0.5828 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.1787, allocations: 16 kB / 0.5828 GB, free: 13.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1788, allocations: 326 kB / 0.5831 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.1798, allocations: 457.1 kB / 0.5836 GB, free: 13.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.1809, allocations: 0.5488 MB / 0.5841 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009676/0.1818, allocations: 486 kB / 0.5845 GB, free: 11.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1819, allocations: 4 kB / 0.5846 GB, free: 11.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009427/0.1913, allocations: 3.149 MB / 0.5876 GB, free: 8.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.1914, allocations: 8.266 kB / 0.5876 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.1914, allocations: 11.94 kB / 0.5876 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00454/0.196, allocations: 1.287 MB / 0.5889 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.1966, allocations: 103.8 kB / 0.589 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/0.2128, allocations: 7.2 MB / 0.596 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.2139, allocations: 139.6 kB / 0.5962 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.214, allocations: 23.98 kB / 0.5962 GB, free: 15.92 MB / 430.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.0003781/0.2144, allocations: 197.7 kB / 0.5964 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.2146, allocations: 98.77 kB / 0.5965 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009442/0.224, allocations: 3.193 MB / 0.5996 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.2241, allocations: 7.953 kB / 0.5996 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2241, allocations: 0 / 0.5996 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.2241, allocations: 7.984 kB / 0.5996 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.235, allocations: 4.396 MB / 0.6039 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.2351, allocations: 0 / 0.6039 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.2355, allocations: 83.89 kB / 0.604 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004173/0.2397, allocations: 1.27 MB / 0.6052 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.2398, allocations: 15.98 kB / 0.6052 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.2541, allocations: 6.323 MB / 0.6114 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.2542, allocations: 3.984 kB / 0.6114 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.2651, allocations: 3.846 MB / 0.6152 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.2655, allocations: 179.8 kB / 0.6153 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.2657, allocations: 16 kB / 0.6154 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008714/0.2666, allocations: 103.9 kB / 0.6155 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004387/0.267, allocations: 144.3 kB / 0.6156 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.2671, allocations: 16 kB / 0.6156 GB, free: 11.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006541/0.2678, allocations: 499 kB / 0.6161 GB, free: 11.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2678, allocations: 8 kB / 0.6161 GB, free: 11.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001117/0.2689, allocations: 295.7 kB / 0.6164 GB, free: 10.91 MB / 446.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.01103/0.2799, allocations: 4.475 MB / 0.6207 GB, free: 6.391 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004454/0.2844, allocations: 1.656 MB / 0.6224 GB, free: 4.723 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.2845, allocations: 4 kB / 0.6224 GB, free: 4.719 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003214/0.2877, allocations: 1.177 MB / 0.6235 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.2884, allocations: 67.3 kB / 0.6236 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/0.3068, allocations: 9.647 MB / 0.633 GB, free: 9.598 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/0.3075, allocations: 0.9903 MB / 0.634 GB, free: 8.578 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.3078, allocations: 61.14 kB / 0.634 GB, free: 8.516 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.3082, allocations: 319.3 kB / 0.6343 GB, free: 8.203 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3082, allocations: 0 / 0.6343 GB, free: 8.203 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.3471, allocations: 21.72 MB / 0.6555 GB, free: 2.609 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.3473, allocations: 183.7 kB / 0.6557 GB, free: 2.375 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/2.466, allocations: 0 / 0.6557 GB, free: 2.375 MB / 478.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: