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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 239.2 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 199.7 kB / 289.6 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4425/0.4425, allocations: 78.54 MB / 418.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.002731, allocations: 79.86 kB / 497.5 MB, free: 6.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1479, allocations: 68.18 MB / 0.5525 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2227/0.3707, allocations: 5.23 MB / 0.5576 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.374, allocations: 1.406 MB / 0.5589 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008551/0.3749, allocations: 8.125 kB / 0.559 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.3754, allocations: 160 kB / 0.5591 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008681/0.3763, allocations: 335.8 kB / 0.5594 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.3777, allocations: 0.6337 MB / 0.56 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.3788, allocations: 1.054 MB / 0.5611 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.3791, allocations: 222.4 kB / 0.5613 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.3796, allocations: 441.2 kB / 0.5617 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005182/0.3801, allocations: 0.5297 MB / 0.5622 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.3802, allocations: 75.5 kB / 0.5623 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.3805, allocations: 146.2 kB / 0.5624 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.3806, allocations: 203.6 kB / 0.5626 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.3809, allocations: 468 kB / 0.5631 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000844/0.3818, allocations: 1.065 MB / 0.5641 GB, free: 35.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3818, allocations: 1.641 kB / 0.5641 GB, free: 35.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3818, allocations: 0 / 0.5641 GB, free: 35.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.3818, allocations: 0 / 0.5641 GB, free: 35.15 MB / 430.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.00463/0.3865, allocations: 1.763 MB / 0.5658 GB, free: 34.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3865, allocations: 9.625 kB / 0.5659 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.3866, allocations: 100.5 kB / 0.5659 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002513/0.3892, allocations: 444 kB / 0.5664 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008142/0.39, allocations: 0.6301 MB / 0.567 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.3902, allocations: 199.4 kB / 0.5672 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-05/0.3903, allocations: 55.84 kB / 0.5672 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3916, allocations: 0.7774 MB / 0.568 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3917, allocations: 0 / 0.568 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.3917, allocations: 22 kB / 0.568 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.3918, allocations: 16.98 kB / 0.568 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.3931, allocations: 0.6995 MB / 0.5687 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004125/0.3972, allocations: 2.676 MB / 0.5713 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.3986, allocations: 1.037 MB / 0.5723 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008685/0.3995, allocations: 495.7 kB / 0.5728 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.588e-05/0.3996, allocations: 13.61 kB / 0.5728 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.4007, allocations: 0.5897 MB / 0.5734 GB, free: 32.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.066e-06/0.4007, allocations: 0 / 0.5734 GB, free: 32.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01748/0.4182, allocations: 4.6 MB / 0.5779 GB, free: 31.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.4183, allocations: 85.8 kB / 0.578 GB, free: 31.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/0.4191, allocations: 0.708 MB / 0.5787 GB, free: 31.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.4193, allocations: 44.52 kB / 0.5787 GB, free: 31.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.4195, allocations: 379.6 kB / 0.5791 GB, free: 31.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.4197, allocations: 232 kB / 0.5793 GB, free: 31.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.4199, allocations: 105.6 kB / 0.5794 GB, free: 31.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.2e-05/0.42, allocations: 333.3 kB / 0.5797 GB, free: 30.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008333/0.4208, allocations: 402.2 kB / 0.5801 GB, free: 30.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/0.4218, allocations: 0.5036 MB / 0.5806 GB, free: 30.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.4236, allocations: 0.9233 MB / 0.5815 GB, free: 29.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4236, allocations: 0 / 0.5815 GB, free: 29.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008557/0.4322, allocations: 2.581 MB / 0.584 GB, free: 29.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.4323, allocations: 14.09 kB / 0.584 GB, free: 29.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4323, allocations: 2.469 kB / 0.584 GB, free: 29.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004095/0.4364, allocations: 1.127 MB / 0.5851 GB, free: 29.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.4369, allocations: 94.78 kB / 0.5852 GB, free: 29.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/0.4524, allocations: 6.787 MB / 0.5918 GB, free: 25.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.4535, allocations: 116.9 kB / 0.5919 GB, free: 25.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.4536, allocations: 24 kB / 0.592 GB, free: 25.65 MB / 430.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.0003136/0.4539, allocations: 203.8 kB / 0.5922 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.454, allocations: 89.88 kB / 0.5923 GB, free: 25.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009335/0.4634, allocations: 2.626 MB / 0.5948 GB, free: 24.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.4634, allocations: 11.75 kB / 0.5948 GB, free: 24.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4635, allocations: 0 / 0.5948 GB, free: 24.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/0.4635, allocations: 4.844 kB / 0.5948 GB, free: 24.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.4745, allocations: 3.829 MB / 0.5986 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/0.4746, allocations: 1.125 kB / 0.5986 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/0.4751, allocations: 83.11 kB / 0.5987 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00432/0.4795, allocations: 1.079 MB / 0.5997 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/0.4797, allocations: 16.77 kB / 0.5997 GB, free: 23.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/0.4941, allocations: 6.021 MB / 0.6056 GB, free: 19.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4942, allocations: 1.156 kB / 0.6056 GB, free: 19.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.5048, allocations: 3.221 MB / 0.6087 GB, free: 18.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.5052, allocations: 180.1 kB / 0.6089 GB, free: 18.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.5055, allocations: 10.75 kB / 0.6089 GB, free: 18.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000956/0.5064, allocations: 80.09 kB / 0.609 GB, free: 18.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005109/0.5069, allocations: 145.1 kB / 0.6091 GB, free: 18.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.301e-05/0.507, allocations: 17.31 kB / 0.6092 GB, free: 18.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007161/0.5078, allocations: 0.4957 MB / 0.6096 GB, free: 18.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5078, allocations: 0 / 0.6096 GB, free: 18.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001203/0.509, allocations: 292.5 kB / 0.6099 GB, free: 18.17 MB / 430.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.009966/0.519, allocations: 3.791 MB / 0.6136 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004418/0.5234, allocations: 1.548 MB / 0.6151 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/0.5235, allocations: 0 / 0.6151 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00301/0.5265, allocations: 1.073 MB / 0.6162 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/0.5274, allocations: 71.31 kB / 0.6163 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02428/0.5517, allocations: 10.82 MB / 0.6268 GB, free: 2.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.5521, allocations: 0.9747 MB / 0.6278 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003251/0.5525, allocations: 67.16 kB / 0.6278 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/0.5529, allocations: 315.3 kB / 0.6281 GB, free: 0.668 MB / 430.1 MB Notification: Performance of SimCode: time 9.21e-07/0.5529, allocations: 0 / 0.6281 GB, free: 0.668 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07275/0.6257, allocations: 24.2 MB / 0.6518 GB, free: 8.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.91, allocations: 7.172 kB / 0.6518 GB, free: 8.746 MB / 462.1 MB (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)