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.08281/0.08281, allocations: 12.36 MB / 31.19 MB, free: 16 kB / 19.63 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.001215/0.001215, allocations: 117 kB / 37.24 MB, free: 1.238 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.318/1.318, allocations: 207.6 MB / 250.8 MB, free: 7.336 MB / 190.1 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.001474/0.001474, allocations: 212.4 kB / 306.1 MB, free: 492 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.3026/0.3026, allocations: 79.73 MB / 440.9 MB, free: 12.46 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.003903/0.003903, allocations: 147.8 kB / 0.5875 GB, free: 7.656 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3226, allocations: 71.96 MB / 0.6578 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005354/0.328, allocations: 5.331 MB / 0.663 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.3308, allocations: 1.383 MB / 0.6643 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/0.3312, allocations: 14.03 kB / 0.6643 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004347/0.3316, allocations: 161.2 kB / 0.6645 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007215/0.3323, allocations: 368.8 kB / 0.6648 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.3337, allocations: 0.5988 MB / 0.6654 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.3348, allocations: 1.068 MB / 0.6665 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.3351, allocations: 156.8 kB / 0.6666 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.3356, allocations: 449.5 kB / 0.667 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.3363, allocations: 0.5361 MB / 0.6676 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-05/0.3364, allocations: 75.56 kB / 0.6676 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.3367, allocations: 141.7 kB / 0.6678 GB, free: 12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.3369, allocations: 208.4 kB / 0.668 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.3373, allocations: 470.7 kB / 0.6684 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.3386, allocations: 1.089 MB / 0.6695 GB, free: 11.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3386, allocations: 4 kB / 0.6695 GB, free: 11.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3386, allocations: 0 / 0.6695 GB, free: 11.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.3386, allocations: 1.406 kB / 0.6695 GB, free: 11.05 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.004931/0.3435, allocations: 1.804 MB / 0.6713 GB, free: 10.15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3436, allocations: 9.953 kB / 0.6713 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.3437, allocations: 96.8 kB / 0.6714 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/0.3461, allocations: 453.7 kB / 0.6718 GB, free: 9.906 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.3472, allocations: 0.5665 MB / 0.6723 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002862/0.3475, allocations: 281.2 kB / 0.6726 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.825e-05/0.3476, allocations: 53.11 kB / 0.6727 GB, free: 9.133 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.349, allocations: 0.7689 MB / 0.6734 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3491, allocations: 5.094 kB / 0.6734 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.3491, allocations: 27.95 kB / 0.6734 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.3491, allocations: 13.59 kB / 0.6735 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.3506, allocations: 0.6951 MB / 0.6741 GB, free: 8.324 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004501/0.3551, allocations: 2.632 MB / 0.6767 GB, free: 6.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3564, allocations: 0.6084 MB / 0.6773 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009008/0.3573, allocations: 446 kB / 0.6777 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-05/0.3574, allocations: 11.52 kB / 0.6777 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.3586, allocations: 0.5872 MB / 0.6783 GB, free: 5.258 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 1.993e-06/0.3586, allocations: 0 / 0.6783 GB, free: 5.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01718/0.3757, allocations: 4.508 MB / 0.6827 GB, free: 3.062 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.3758, allocations: 88.31 kB / 0.6828 GB, free: 2.965 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.3769, allocations: 0.7136 MB / 0.6835 GB, free: 2.559 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.377, allocations: 40.09 kB / 0.6835 GB, free: 2.516 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.3773, allocations: 388.6 kB / 0.6839 GB, free: 2.172 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.3776, allocations: 238.1 kB / 0.6841 GB, free: 1.965 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3778, allocations: 106.8 kB / 0.6842 GB, free: 1.895 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3779, allocations: 327.7 kB / 0.6845 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008608/0.3788, allocations: 408.3 kB / 0.6849 GB, free: 1.375 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000976/0.3797, allocations: 0.5074 MB / 0.6854 GB, free: 1.047 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.3815, allocations: 0.9213 MB / 0.6863 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3816, allocations: 1.25 kB / 0.6863 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008182/0.3897, allocations: 2.562 MB / 0.6888 GB, free: 15.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.3898, allocations: 13.94 kB / 0.6888 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.3898, allocations: 11.27 kB / 0.6889 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/0.3936, allocations: 1.122 MB / 0.69 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.3941, allocations: 101.6 kB / 0.69 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/0.4094, allocations: 6.677 MB / 0.6966 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.4104, allocations: 111.5 kB / 0.6967 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.4105, allocations: 24 kB / 0.6967 GB, free: 10.13 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.0003649/0.4109, allocations: 209.6 kB / 0.6969 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.411, allocations: 91.44 kB / 0.697 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008261/0.4193, allocations: 2.601 MB / 0.6995 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.4193, allocations: 11.94 kB / 0.6995 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.4193, allocations: 0 / 0.6995 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.4193, allocations: 3.984 kB / 0.6995 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009929/0.4292, allocations: 3.787 MB / 0.7032 GB, free: 3.281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4292, allocations: 0 / 0.7032 GB, free: 3.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.4296, allocations: 75.89 kB / 0.7033 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003688/0.4333, allocations: 1.082 MB / 0.7044 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.4334, allocations: 16 kB / 0.7044 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.4465, allocations: 5.91 MB / 0.7102 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4465, allocations: 0 / 0.7102 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009446/0.4559, allocations: 3.208 MB / 0.7133 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.4562, allocations: 103.3 kB / 0.7134 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.4563, allocations: 19.94 kB / 0.7134 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007247/0.457, allocations: 71.91 kB / 0.7135 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003828/0.4574, allocations: 152.3 kB / 0.7136 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.4575, allocations: 23.98 kB / 0.7136 GB, free: 8.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006272/0.4581, allocations: 0.4951 MB / 0.7141 GB, free: 7.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4581, allocations: 0 / 0.7141 GB, free: 7.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000856/0.459, allocations: 295.7 kB / 0.7144 GB, free: 7.703 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.009599/0.4686, allocations: 3.769 MB / 0.7181 GB, free: 3.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004018/0.4726, allocations: 1.492 MB / 0.7195 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4726, allocations: 0 / 0.7195 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002784/0.4754, allocations: 1.018 MB / 0.7205 GB, free: 1.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.476, allocations: 83.38 kB / 0.7206 GB, free: 1.277 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02445/0.5005, allocations: 10.48 MB / 0.7309 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/0.5011, allocations: 0.9708 MB / 0.7318 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.5013, allocations: 65.14 kB / 0.7319 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.5017, allocations: 319.3 kB / 0.7322 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.5017, allocations: 0 / 0.7322 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07818/0.5799, allocations: 25.48 MB / 0.7571 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.07, allocations: 4.188 kB / 0.7571 GB, free: 11.75 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.064587281998683] Failed to read output from testmodel.py, exit status != 0: 14.19556135199673 14.213167919 13.871152277 Calling exit ...