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-master/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-master/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-master/package.mo): time 0.07635/0.07635, allocations: 12.59 MB / 28.23 MB, free: 1.047 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.001097/0.001097, allocations: 115.4 kB / 31.84 MB, free: 3.988 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.29/1.29, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001245/0.001245, allocations: 179.4 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4201/0.4201, allocations: 78.51 MB / 419.3 MB, free: 11.29 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.002605/0.002605, allocations: 143 kB / 0.5553 GB, free: 28.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1223, allocations: 68.12 MB / 0.6219 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006018/0.1284, allocations: 5.29 MB / 0.627 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1308, allocations: 1.385 MB / 0.6284 GB, free: 9.277 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.1311, allocations: 4 kB / 0.6284 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.1315, allocations: 162.6 kB / 0.6285 GB, free: 9.113 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006548/0.1322, allocations: 373.4 kB / 0.6289 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.1335, allocations: 0.6348 MB / 0.6295 GB, free: 8.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009216/0.1344, allocations: 1.054 MB / 0.6306 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.1348, allocations: 235.6 kB / 0.6308 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.1353, allocations: 430.2 kB / 0.6312 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006306/0.1359, allocations: 0.5365 MB / 0.6317 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.136, allocations: 80 kB / 0.6318 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.1363, allocations: 140 kB / 0.6319 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.1364, allocations: 199.1 kB / 0.6321 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.1368, allocations: 469.2 kB / 0.6326 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009736/0.1378, allocations: 1.083 MB / 0.6336 GB, free: 3.891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1378, allocations: 0 / 0.6336 GB, free: 3.891 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1378, allocations: 0 / 0.6336 GB, free: 3.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1378, allocations: 3.938 kB / 0.6336 GB, free: 3.887 MB / 446.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.00453/0.1424, allocations: 1.764 MB / 0.6353 GB, free: 2.066 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1424, allocations: 11.98 kB / 0.6354 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.1425, allocations: 98.7 kB / 0.6354 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/0.145, allocations: 446.4 kB / 0.6359 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/0.1459, allocations: 0.6272 MB / 0.6365 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.1461, allocations: 197.8 kB / 0.6367 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.714e-05/0.1462, allocations: 55.98 kB / 0.6367 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.1476, allocations: 0.7642 MB / 0.6375 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.1477, allocations: 7.922 kB / 0.6375 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/0.1477, allocations: 23.94 kB / 0.6375 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1477, allocations: 16 kB / 0.6375 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.1492, allocations: 0.7 MB / 0.6382 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.1532, allocations: 2.672 MB / 0.6408 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.1547, allocations: 1.036 MB / 0.6418 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009361/0.1557, allocations: 487.2 kB / 0.6423 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.843e-05/0.1558, allocations: 12.55 kB / 0.6423 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.1569, allocations: 0.588 MB / 0.6429 GB, free: 9.961 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 2.755e-06/0.1569, allocations: 0 / 0.6429 GB, free: 9.961 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01773/0.1746, allocations: 4.604 MB / 0.6474 GB, free: 5.324 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.1747, allocations: 85.66 kB / 0.6475 GB, free: 5.223 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009502/0.1757, allocations: 0.708 MB / 0.6481 GB, free: 4.508 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/0.1758, allocations: 41.64 kB / 0.6482 GB, free: 4.461 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.1761, allocations: 388.8 kB / 0.6486 GB, free: 4.074 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.1763, allocations: 228.6 kB / 0.6488 GB, free: 3.848 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.1765, allocations: 102.3 kB / 0.6489 GB, free: 3.738 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1766, allocations: 334 kB / 0.6492 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008599/0.1775, allocations: 401.1 kB / 0.6496 GB, free: 3.016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009108/0.1784, allocations: 0.5059 MB / 0.6501 GB, free: 2.469 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.1802, allocations: 0.9159 MB / 0.651 GB, free: 1.512 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1803, allocations: 4 kB / 0.651 GB, free: 1.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008124/0.1884, allocations: 2.59 MB / 0.6535 GB, free: 14.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1884, allocations: 7.938 kB / 0.6535 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1884, allocations: 4 kB / 0.6535 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003898/0.1923, allocations: 1.128 MB / 0.6546 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.1928, allocations: 99.81 kB / 0.6547 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01556/0.2084, allocations: 6.763 MB / 0.6613 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009359/0.2093, allocations: 115.5 kB / 0.6614 GB, free: 6.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/0.2094, allocations: 20 kB / 0.6614 GB, free: 6.621 MB / 478.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.0003267/0.2097, allocations: 209.6 kB / 0.6616 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.2099, allocations: 82.97 kB / 0.6617 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008394/0.2183, allocations: 2.63 MB / 0.6643 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.2184, allocations: 15.94 kB / 0.6643 GB, free: 3.668 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2184, allocations: 0 / 0.6643 GB, free: 3.668 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.2184, allocations: 3.984 kB / 0.6643 GB, free: 3.664 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009777/0.2282, allocations: 3.824 MB / 0.668 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.2282, allocations: 0 / 0.668 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.2286, allocations: 83.89 kB / 0.6681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003733/0.2324, allocations: 1.074 MB / 0.6692 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/0.2325, allocations: 12 kB / 0.6692 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.2454, allocations: 6.017 MB / 0.6751 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2454, allocations: 0 / 0.6751 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009188/0.2546, allocations: 3.22 MB / 0.6782 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.2549, allocations: 171.9 kB / 0.6784 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.255, allocations: 15.94 kB / 0.6784 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007588/0.2558, allocations: 87.84 kB / 0.6785 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/0.2562, allocations: 140.4 kB / 0.6786 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.2563, allocations: 19.98 kB / 0.6786 GB, free: 4.691 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005747/0.2568, allocations: 0.4951 MB / 0.6791 GB, free: 4.203 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2568, allocations: 0 / 0.6791 GB, free: 4.203 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008393/0.2577, allocations: 299.7 kB / 0.6794 GB, free: 3.91 MB / 494.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.009369/0.2671, allocations: 3.784 MB / 0.6831 GB, free: 88 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004052/0.2711, allocations: 1.533 MB / 0.6846 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2712, allocations: 0 / 0.6846 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/0.2739, allocations: 1.064 MB / 0.6856 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.2746, allocations: 75.38 kB / 0.6857 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/0.2986, allocations: 10.48 MB / 0.6959 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.2991, allocations: 0.9748 MB / 0.6969 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.2994, allocations: 69.12 kB / 0.6969 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.2998, allocations: 315.3 kB / 0.6972 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of SimCode: time 5.72e-07/0.2998, allocations: 4 kB / 0.6972 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3218/0.6215, allocations: 24.51 MB / 0.7212 GB, free: 88.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.01, allocations: 4.641 kB / 0.7212 GB, free: 88.62 MB / 0.5137 GB (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)