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.1222/0.1222, allocations: 12.59 MB / 28.22 MB, free: 0.7734 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.001146/0.001146, allocations: 111.4 kB / 31.83 MB, free: 3.902 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.1 MB / 240.4 MB, free: 12.39 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.002229/0.002229, allocations: 192.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.7292/0.7292, allocations: 78.51 MB / 419.3 MB, free: 11.26 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.002675/0.002675, allocations: 141.3 kB / 0.5553 GB, free: 28.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1451, allocations: 68.12 MB / 0.6219 GB, free: 84 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.007101/0.1523, allocations: 5.289 MB / 0.627 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003501/0.1558, allocations: 1.385 MB / 0.6284 GB, free: 9.375 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009023/0.1568, allocations: 4 kB / 0.6284 GB, free: 9.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006947/0.1575, allocations: 166.5 kB / 0.6285 GB, free: 9.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.159, allocations: 325.5 kB / 0.6289 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.1609, allocations: 0.636 MB / 0.6295 GB, free: 8.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.1629, allocations: 1.062 MB / 0.6305 GB, free: 7.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.1634, allocations: 231.6 kB / 0.6307 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009537/0.1644, allocations: 442.1 kB / 0.6312 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.1655, allocations: 0.5288 MB / 0.6317 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.1658, allocations: 76 kB / 0.6317 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004879/0.1663, allocations: 140 kB / 0.6319 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.1665, allocations: 207.1 kB / 0.6321 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.1672, allocations: 469.2 kB / 0.6325 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.1687, allocations: 1.077 MB / 0.6336 GB, free: 4.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1687, allocations: 0 / 0.6336 GB, free: 4.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1687, allocations: 0 / 0.6336 GB, free: 4.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.001e-05/0.1688, allocations: 0 / 0.6336 GB, free: 4.027 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.005857/0.1746, allocations: 1.764 MB / 0.6353 GB, free: 2.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.1747, allocations: 15.98 kB / 0.6353 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.1749, allocations: 94.7 kB / 0.6354 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.1776, allocations: 446.5 kB / 0.6358 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.1791, allocations: 0.6311 MB / 0.6364 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/0.1794, allocations: 197.8 kB / 0.6366 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.1795, allocations: 60 kB / 0.6367 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.1814, allocations: 0.7719 MB / 0.6374 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.1815, allocations: 0 / 0.6374 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/0.1815, allocations: 23.94 kB / 0.6375 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.1816, allocations: 16 kB / 0.6375 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.1833, allocations: 0.6961 MB / 0.6382 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005324/0.1887, allocations: 2.664 MB / 0.6408 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.1905, allocations: 1.039 MB / 0.6418 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.1915, allocations: 487.2 kB / 0.6422 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.979e-05/0.1917, allocations: 8.562 kB / 0.6422 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.1931, allocations: 0.6035 MB / 0.6428 GB, free: 10.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 3.417e-06/0.1931, allocations: 0 / 0.6428 GB, free: 10.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.02255/0.2156, allocations: 4.596 MB / 0.6473 GB, free: 5.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.2157, allocations: 89.7 kB / 0.6474 GB, free: 5.359 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.2171, allocations: 0.7119 MB / 0.6481 GB, free: 4.641 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001907/0.2173, allocations: 41.64 kB / 0.6481 GB, free: 4.594 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.2177, allocations: 376.8 kB / 0.6485 GB, free: 4.219 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/0.2181, allocations: 228.6 kB / 0.6487 GB, free: 3.992 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.2184, allocations: 102.3 kB / 0.6488 GB, free: 3.883 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2185, allocations: 330 kB / 0.6491 GB, free: 3.555 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.2198, allocations: 405.1 kB / 0.6495 GB, free: 3.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.2211, allocations: 0.5097 MB / 0.65 GB, free: 2.609 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.2234, allocations: 0.916 MB / 0.6509 GB, free: 1.652 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.2234, allocations: 3.938 kB / 0.6509 GB, free: 1.648 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.01357/0.237, allocations: 2.594 MB / 0.6535 GB, free: 15.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.2371, allocations: 15.97 kB / 0.6535 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.2372, allocations: 4 kB / 0.6535 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007697/0.2449, allocations: 1.116 MB / 0.6546 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/0.2458, allocations: 103.8 kB / 0.6547 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02985/0.2757, allocations: 6.769 MB / 0.6613 GB, free: 6.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.2775, allocations: 107.5 kB / 0.6614 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.2777, allocations: 27.98 kB / 0.6614 GB, free: 6.75 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.0006732/0.2784, allocations: 197.7 kB / 0.6616 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004673/0.2789, allocations: 86.97 kB / 0.6617 GB, free: 6.461 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/0.2959, allocations: 2.63 MB / 0.6642 GB, free: 3.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/0.296, allocations: 15.94 kB / 0.6643 GB, free: 3.805 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.296, allocations: 3.938 kB / 0.6643 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/0.2961, allocations: 7.984 kB / 0.6643 GB, free: 3.793 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/0.3154, allocations: 3.816 MB / 0.668 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-05/0.3155, allocations: 3.984 kB / 0.668 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008951/0.3164, allocations: 79.89 kB / 0.6681 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007578/0.324, allocations: 1.074 MB / 0.6691 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/0.3242, allocations: 12 kB / 0.6691 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02689/0.3511, allocations: 6.017 MB / 0.675 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.3512, allocations: 4 kB / 0.675 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/0.3695, allocations: 3.224 MB / 0.6782 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000614/0.3701, allocations: 179.9 kB / 0.6783 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003305/0.3705, allocations: 8 kB / 0.6783 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.3721, allocations: 71.92 kB / 0.6784 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007988/0.3729, allocations: 148.3 kB / 0.6786 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.3731, allocations: 24 kB / 0.6786 GB, free: 4.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001225/0.3743, allocations: 0.4951 MB / 0.6791 GB, free: 4.336 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3744, allocations: 0 / 0.6791 GB, free: 4.336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001744/0.3761, allocations: 295.7 kB / 0.6793 GB, free: 4.047 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.01884/0.395, allocations: 3.788 MB / 0.683 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007956/0.403, allocations: 1.537 MB / 0.6845 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/0.403, allocations: 0 / 0.6845 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005772/0.4088, allocations: 1.053 MB / 0.6856 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.4102, allocations: 82.11 kB / 0.6856 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03896/0.4492, allocations: 10.49 MB / 0.6959 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008602/0.4501, allocations: 0.9669 MB / 0.6968 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004876/0.4506, allocations: 73.12 kB / 0.6969 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/0.4513, allocations: 319.3 kB / 0.6972 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.4513, allocations: 0 / 0.6972 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5242/0.9756, allocations: 25.53 MB / 0.7221 GB, free: 87.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.61/19.59, allocations: 2 kB / 0.7221 GB, free: 87.99 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)