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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08423/0.08423, allocations: 12.37 MB / 31.21 MB, free: 6.473 MB / 26.18 MB " [Timeout remaining time 180] 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.001282/0.001282, allocations: 107.6 kB / 37.24 MB, free: 1.168 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 207.7 MB / 250.9 MB, free: 7.293 MB / 190.1 MB " [Timeout remaining time 178] 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.001552/0.001552, allocations: 220.3 kB / 306.1 MB, free: 308 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3157/0.3157, allocations: 79.73 MB / 441 MB, free: 12.27 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004215/0.004215, allocations: 155.8 kB / 0.5875 GB, free: 9.398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1304, allocations: 71.97 MB / 0.6577 GB, free: 1.367 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2474/0.3778, allocations: 4.704 MB / 0.6623 GB, free: 8.746 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.3803, allocations: 1.317 MB / 0.6636 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.3806, allocations: 7.125 kB / 0.6636 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.381, allocations: 165.2 kB / 0.6638 GB, free: 8.148 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006826/0.3817, allocations: 366.7 kB / 0.6641 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.3829, allocations: 0.5702 MB / 0.6647 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009305/0.3838, allocations: 1.061 MB / 0.6657 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.3841, allocations: 151.2 kB / 0.6659 GB, free: 7.324 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004179/0.3845, allocations: 454.9 kB / 0.6663 GB, free: 7.109 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/0.3851, allocations: 0.4895 MB / 0.6668 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.3852, allocations: 75.94 kB / 0.6669 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.3855, allocations: 136.2 kB / 0.667 GB, free: 6.879 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3856, allocations: 205.7 kB / 0.6672 GB, free: 6.742 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.3859, allocations: 387.2 kB / 0.6676 GB, free: 6.516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009129/0.3868, allocations: 1.095 MB / 0.6686 GB, free: 6.027 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3868, allocations: 0 / 0.6686 GB, free: 6.027 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3868, allocations: 1.656 kB / 0.6686 GB, free: 6.027 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.3868, allocations: 1.125 kB / 0.6686 GB, free: 6.027 MB / 462.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.00482/0.3916, allocations: 1.815 MB / 0.6704 GB, free: 5.117 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3917, allocations: 11.06 kB / 0.6704 GB, free: 5.117 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.908e-05/0.3918, allocations: 97.61 kB / 0.6705 GB, free: 5.043 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.3942, allocations: 448.6 kB / 0.6709 GB, free: 4.941 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.3952, allocations: 0.5647 MB / 0.6715 GB, free: 4.543 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.3954, allocations: 283.8 kB / 0.6718 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-05/0.3955, allocations: 55.97 kB / 0.6718 GB, free: 4.246 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.3969, allocations: 0.765 MB / 0.6726 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3969, allocations: 1.5 kB / 0.6726 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/0.397, allocations: 27.22 kB / 0.6726 GB, free: 3.926 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.397, allocations: 18.22 kB / 0.6726 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.3984, allocations: 0.6952 MB / 0.6733 GB, free: 3.699 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.4021, allocations: 1.965 MB / 0.6752 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.4034, allocations: 0.6102 MB / 0.6758 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008436/0.4042, allocations: 443.8 kB / 0.6762 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.526e-05/0.4043, allocations: 9.078 kB / 0.6762 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.4053, allocations: 0.5936 MB / 0.6768 GB, free: 1.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 2.555e-06/0.4053, allocations: 2.625 kB / 0.6768 GB, free: 1.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01772/0.4231, allocations: 4.498 MB / 0.6812 GB, free: 1.191 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.4231, allocations: 84.83 kB / 0.6813 GB, free: 1.098 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009874/0.4241, allocations: 0.7128 MB / 0.682 GB, free: 0.793 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-05/0.4242, allocations: 37.3 kB / 0.682 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.4244, allocations: 384.8 kB / 0.6824 GB, free: 456 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.4246, allocations: 247.5 kB / 0.6826 GB, free: 252 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.4249, allocations: 102.9 kB / 0.6827 GB, free: 196 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.425, allocations: 327.8 kB / 0.683 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.4261, allocations: 406.9 kB / 0.6834 GB, free: 15.74 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.4273, allocations: 0.5095 MB / 0.6839 GB, free: 15.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.4294, allocations: 0.9189 MB / 0.6848 GB, free: 14.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4294, allocations: 5.094 kB / 0.6848 GB, free: 14.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008733/0.4382, allocations: 2.566 MB / 0.6873 GB, free: 13.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4382, allocations: 10.78 kB / 0.6873 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.4382, allocations: 3.312 kB / 0.6873 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004181/0.4424, allocations: 1.129 MB / 0.6884 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.4428, allocations: 105.7 kB / 0.6885 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.4592, allocations: 6.534 MB / 0.6949 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.4602, allocations: 111.8 kB / 0.695 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.4603, allocations: 29.45 kB / 0.6951 GB, free: 8.918 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.0003631/0.4607, allocations: 202.3 kB / 0.6952 GB, free: 8.742 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.4608, allocations: 90.88 kB / 0.6953 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008776/0.4696, allocations: 2.611 MB / 0.6979 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.4696, allocations: 10.72 kB / 0.6979 GB, free: 7.34 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4696, allocations: 1.531 kB / 0.6979 GB, free: 7.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.4696, allocations: 3.984 kB / 0.6979 GB, free: 7.336 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.4799, allocations: 3.321 MB / 0.7011 GB, free: 5.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4799, allocations: 6.344 kB / 0.7011 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.4803, allocations: 79.73 kB / 0.7012 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003914/0.4842, allocations: 1.076 MB / 0.7023 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.99e-05/0.4843, allocations: 12.12 kB / 0.7023 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/0.4984, allocations: 5.789 MB / 0.7079 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4984, allocations: 0 / 0.7079 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/0.5087, allocations: 3.209 MB / 0.7111 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.5091, allocations: 99.28 kB / 0.7112 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.5092, allocations: 12 kB / 0.7112 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007984/0.51, allocations: 83.91 kB / 0.7113 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004768/0.5105, allocations: 148.4 kB / 0.7114 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.5106, allocations: 19.98 kB / 0.7114 GB, free: 12.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007355/0.5113, allocations: 0.4912 MB / 0.7119 GB, free: 11.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5113, allocations: 0 / 0.7119 GB, free: 11.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00099/0.5123, allocations: 295.8 kB / 0.7122 GB, free: 11.36 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.01044/0.5227, allocations: 3.769 MB / 0.7159 GB, free: 7.555 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004493/0.5272, allocations: 1.489 MB / 0.7173 GB, free: 6.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.5272, allocations: 0 / 0.7173 GB, free: 6.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00316/0.5304, allocations: 1.022 MB / 0.7183 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008374/0.5312, allocations: 79.38 kB / 0.7184 GB, free: 4.938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02631/0.5575, allocations: 10.49 MB / 0.7286 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.558, allocations: 386.1 kB / 0.729 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002797/0.5582, allocations: 65.14 kB / 0.7291 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/0.5587, allocations: 319.3 kB / 0.7294 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of SimCode: time 1.041e-06/0.5587, allocations: 4 kB / 0.7294 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.068/0.6267, allocations: 26.05 MB / 0.7548 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.14, allocations: 3.938 kB / 0.7548 GB, free: 15.43 MB / 0.5294 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.40068817604333] Failed to read output from testmodel.py, exit status != 0: 14.272360893897712 14.294771866 13.903808987 Calling exit ...