Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8677/0.8677, allocations: 177.1 MB / 199.4 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 156.2 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2661/0.2661, allocations: 80.37 MB / 392.7 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.5549 GB, free: 12.64 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016e-05/1.13e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.003659/0.00367, allocations: 4.707 MB / 0.5595 GB, free: 7.906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.005352, allocations: 1.407 MB / 0.5609 GB, free: 6.496 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.005549, allocations: 4 kB / 0.5609 GB, free: 6.492 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.005821, allocations: 162.5 kB / 0.561 GB, free: 6.332 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004418/0.006262, allocations: 385.2 kB / 0.5614 GB, free: 5.953 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007484/0.007011, allocations: 0.5704 MB / 0.562 GB, free: 5.387 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006481/0.007659, allocations: 1.093 MB / 0.563 GB, free: 4.289 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.007866, allocations: 152.3 kB / 0.5632 GB, free: 4.125 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.008317, allocations: 0.6194 MB / 0.5638 GB, free: 3.504 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.008682, allocations: 434.6 kB / 0.5642 GB, free: 3.078 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.008751, allocations: 76 kB / 0.5643 GB, free: 3.004 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.008919, allocations: 139.9 kB / 0.5644 GB, free: 2.867 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.009029, allocations: 203 kB / 0.5646 GB, free: 2.668 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.009212, allocations: 307 kB / 0.5649 GB, free: 2.367 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007177/0.009929, allocations: 1.102 MB / 0.566 GB, free: 1.262 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.009931, allocations: 0 / 0.566 GB, free: 1.262 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.009932, allocations: 0 / 0.566 GB, free: 1.262 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.00994, allocations: 0 / 0.566 GB, free: 1.262 MB / 490.7 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.00259/0.01253, allocations: 1.799 MB / 0.5677 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.01257, allocations: 8.031 kB / 0.5677 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.313e-05/0.01265, allocations: 110.7 kB / 0.5678 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.0139, allocations: 447.1 kB / 0.5683 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.01452, allocations: 0.5701 MB / 0.5688 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.01468, allocations: 286.8 kB / 0.5691 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.01475, allocations: 48 kB / 0.5691 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009208/0.01567, allocations: 0.772 MB / 0.5699 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.01568, allocations: 0 / 0.5699 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.01573, allocations: 20 kB / 0.5699 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.01574, allocations: 12 kB / 0.5699 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/0.01665, allocations: 0.7038 MB / 0.5706 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.0191, allocations: 1.969 MB / 0.5725 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008315/0.01993, allocations: 0.6008 MB / 0.5731 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.02052, allocations: 443.4 kB / 0.5735 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.692e-05/0.02058, allocations: 8.656 kB / 0.5735 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/0.02129, allocations: 0.5974 MB / 0.5741 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=66): time 1.483e-06/0.02129, allocations: 0 / 0.5741 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66): time 0.009279/0.03057, allocations: 4.509 MB / 0.5785 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.0306, allocations: 85.77 kB / 0.5786 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/0.03114, allocations: 0.7081 MB / 0.5793 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.03118, allocations: 41.7 kB / 0.5793 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.03137, allocations: 377.2 kB / 0.5797 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.03151, allocations: 245.9 kB / 0.5799 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.03164, allocations: 102.3 kB / 0.58 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.242e-05/0.03173, allocations: 333.9 kB / 0.5804 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.03242, allocations: 405.1 kB / 0.5807 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.03302, allocations: 0.5059 MB / 0.5812 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.03417, allocations: 0.9178 MB / 0.5821 GB, free: 320 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.03418, allocations: 4 kB / 0.5821 GB, free: 316 kB / 0.4948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.004556/0.03873, allocations: 2.569 MB / 0.5846 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.03875, allocations: 11.98 kB / 0.5847 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.03876, allocations: 0 / 0.5847 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/0.04092, allocations: 1.121 MB / 0.5857 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.04113, allocations: 107.8 kB / 0.5859 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00915/0.05028, allocations: 6.535 MB / 0.5922 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.0507, allocations: 115.5 kB / 0.5923 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.05074, allocations: 23.98 kB / 0.5924 GB, free: 5.691 MB / 0.5105 GB 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.0002119/0.05095, allocations: 201.7 kB / 0.5926 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.595e-05/0.05104, allocations: 95.39 kB / 0.5926 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004805/0.05584, allocations: 2.605 MB / 0.5952 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.05585, allocations: 8 kB / 0.5952 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.05585, allocations: 3.938 kB / 0.5952 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.05586, allocations: 3.984 kB / 0.5952 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1795/0.2354, allocations: 3.326 MB / 0.5985 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.2354, allocations: 3.062 kB / 0.5985 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.2356, allocations: 78.89 kB / 0.5985 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/0.2376, allocations: 1.073 MB / 0.5996 GB, free: 92.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.2377, allocations: 13.44 kB / 0.5996 GB, free: 92.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006842/0.2445, allocations: 5.779 MB / 0.6052 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2445, allocations: 0 / 0.6052 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/0.2494, allocations: 3.204 MB / 0.6084 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.2495, allocations: 103.1 kB / 0.6085 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.2496, allocations: 12.45 kB / 0.6085 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.2499, allocations: 72.97 kB / 0.6085 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.2502, allocations: 152.2 kB / 0.6087 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.2502, allocations: 25.64 kB / 0.6087 GB, free: 89.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004576/0.2507, allocations: 0.4979 MB / 0.6092 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2507, allocations: 3.828 kB / 0.6092 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005992/0.2513, allocations: 297.6 kB / 0.6095 GB, free: 88.89 MB / 0.5105 GB 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.005516/0.2568, allocations: 3.757 MB / 0.6132 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002404/0.2592, allocations: 1.493 MB / 0.6146 GB, free: 86.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2592, allocations: 0 / 0.6146 GB, free: 86.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.2608, allocations: 1.013 MB / 0.6156 GB, free: 86.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.2612, allocations: 78.72 kB / 0.6157 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.2757, allocations: 10.42 MB / 0.6259 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.276, allocations: 389.4 kB / 0.6262 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.2762, allocations: 65.97 kB / 0.6263 GB, free: 82.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.2764, allocations: 317.4 kB / 0.6266 GB, free: 82.02 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/0.2764, allocations: 4 kB / 0.6266 GB, free: 82.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.3078, allocations: 26.25 MB / 0.6522 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.505/8.813, allocations: 7.156 kB / 0.6522 GB, free: 65.72 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.989854869432747] Failed to read output from testmodel.py, exit status != 0: 8.913936509750783 8.922673995 8.9103305 Calling exit ...