Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0008775/0.0008775, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.9072/0.9072, allocations: 177.2 MB / 199.4 MB, free: 5.938 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.001106/0.001106, allocations: 156.6 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.276/0.276, allocations: 80.25 MB / 392.6 MB, free: 2.449 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5547 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.332e-05, allocations: 6.281 kB / 0.5547 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004784/0.004807, allocations: 4.708 MB / 0.5593 GB, free: 7.992 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.007708, allocations: 1.403 MB / 0.5607 GB, free: 6.586 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006252/0.008333, allocations: 4 kB / 0.5607 GB, free: 6.582 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000447/0.00878, allocations: 166.5 kB / 0.5609 GB, free: 6.418 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009156/0.009696, allocations: 381.2 kB / 0.5612 GB, free: 6.043 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.01091, allocations: 0.5798 MB / 0.5618 GB, free: 5.469 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.01213, allocations: 1.093 MB / 0.5629 GB, free: 4.371 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.01245, allocations: 148.4 kB / 0.563 GB, free: 4.211 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009449/0.01339, allocations: 0.6156 MB / 0.5636 GB, free: 3.594 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.01395, allocations: 430.6 kB / 0.564 GB, free: 3.172 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.01406, allocations: 76 kB / 0.5641 GB, free: 3.098 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.01437, allocations: 139.9 kB / 0.5642 GB, free: 2.961 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.0145, allocations: 211 kB / 0.5644 GB, free: 2.754 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.01475, allocations: 307 kB / 0.5647 GB, free: 2.453 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.01595, allocations: 1.106 MB / 0.5658 GB, free: 1.344 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.01595, allocations: 0 / 0.5658 GB, free: 1.344 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.01596, allocations: 0 / 0.5658 GB, free: 1.344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.599e-05/0.01598, allocations: 0 / 0.5658 GB, free: 1.344 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.003497/0.01948, allocations: 1.798 MB / 0.5676 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.01953, allocations: 8.031 kB / 0.5676 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.01963, allocations: 94.7 kB / 0.5677 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.02113, allocations: 455 kB / 0.5681 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.02224, allocations: 0.5739 MB / 0.5687 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002419/0.02248, allocations: 282.9 kB / 0.5689 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.02259, allocations: 51.94 kB / 0.569 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.02376, allocations: 0.772 MB / 0.5697 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.02378, allocations: 0 / 0.5697 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.02383, allocations: 23.98 kB / 0.5697 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.02384, allocations: 12 kB / 0.5698 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.02488, allocations: 0.7038 MB / 0.5704 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.02815, allocations: 1.954 MB / 0.5724 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009969/0.02915, allocations: 0.6055 MB / 0.5729 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/0.02978, allocations: 449.6 kB / 0.5734 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.711e-05/0.02984, allocations: 8.656 kB / 0.5734 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008834/0.03073, allocations: 0.6004 MB / 0.574 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=66): time 5.701e-06/0.03073, allocations: 0 / 0.574 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66): time 0.01067/0.04141, allocations: 4.509 MB / 0.5784 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.04146, allocations: 81.77 kB / 0.5785 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008623/0.04233, allocations: 0.7119 MB / 0.5791 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.04245, allocations: 33.7 kB / 0.5792 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.04266, allocations: 389.2 kB / 0.5795 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.04291, allocations: 237.9 kB / 0.5798 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.04308, allocations: 106.3 kB / 0.5799 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.04319, allocations: 333.9 kB / 0.5802 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009074/0.04409, allocations: 409 kB / 0.5806 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/0.04475, allocations: 0.5021 MB / 0.5811 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.04601, allocations: 0.9178 MB / 0.582 GB, free: 408 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.04601, allocations: 4 kB / 0.582 GB, free: 404 kB / 0.4948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.005012/0.05103, allocations: 2.569 MB / 0.5845 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.05105, allocations: 4 kB / 0.5845 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.05106, allocations: 4 kB / 0.5845 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002382/0.05344, allocations: 1.124 MB / 0.5856 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.05377, allocations: 99.83 kB / 0.5857 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.06405, allocations: 6.538 MB / 0.5921 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/0.06471, allocations: 119.5 kB / 0.5922 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.06476, allocations: 24 kB / 0.5922 GB, free: 5.777 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.0003008/0.06506, allocations: 200.1 kB / 0.5924 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.06519, allocations: 95.39 kB / 0.5925 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005109/0.0703, allocations: 2.613 MB / 0.595 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.07031, allocations: 4 kB / 0.595 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.07031, allocations: 4 kB / 0.595 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.07032, allocations: 3.984 kB / 0.5951 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2368/0.3072, allocations: 3.328 MB / 0.5983 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.3072, allocations: 0 / 0.5983 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.3075, allocations: 76.19 kB / 0.5984 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002214/0.3097, allocations: 1.074 MB / 0.5994 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.3098, allocations: 13.03 kB / 0.5994 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008288/0.3181, allocations: 5.774 MB / 0.6051 GB, free: 89.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3181, allocations: 0 / 0.6051 GB, free: 89.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005578/0.3237, allocations: 3.211 MB / 0.6082 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.324, allocations: 99.95 kB / 0.6083 GB, free: 88.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.697e-05/0.3241, allocations: 11.59 kB / 0.6083 GB, free: 88.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.3245, allocations: 75.09 kB / 0.6084 GB, free: 88.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004085/0.3249, allocations: 156.1 kB / 0.6085 GB, free: 88.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.3249, allocations: 22.7 kB / 0.6086 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006376/0.3256, allocations: 0.4906 MB / 0.609 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3256, allocations: 0 / 0.609 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008199/0.3264, allocations: 296.9 kB / 0.6093 GB, free: 88.45 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.006397/0.3328, allocations: 3.774 MB / 0.613 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002903/0.3357, allocations: 1.484 MB / 0.6145 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3357, allocations: 0 / 0.6145 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.3376, allocations: 1.008 MB / 0.6154 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.3383, allocations: 85.84 kB / 0.6155 GB, free: 86.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.3562, allocations: 10.43 MB / 0.6257 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3566, allocations: 385.6 kB / 0.6261 GB, free: 81.81 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002761/0.3568, allocations: 66.06 kB / 0.6261 GB, free: 81.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.3571, allocations: 321.1 kB / 0.6264 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of SimCode: time 1.744e-06/0.3571, allocations: 0 / 0.6264 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04301/0.4001, allocations: 26.25 MB / 0.6521 GB, free: 65.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.124/9.524, allocations: 2.844 kB / 0.6521 GB, free: 65.49 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.994174162857234] Failed to read output from testmodel.py, exit status != 0: 9.627097775228322 9.631746823 9.614184996 Calling exit ...