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-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07703/0.07703, allocations: 12.61 MB / 28.11 MB, free: 240 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.1 MB / 240.3 MB, free: 12.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.00126, allocations: 188.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4174/0.4174, allocations: 78.5 MB / 419.2 MB, free: 11.34 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 135.8 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2583, allocations: 68.11 MB / 0.5547 GB, free: 32.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005264/0.2636, allocations: 5.268 MB / 0.5598 GB, free: 28.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.2662, allocations: 1.372 MB / 0.5612 GB, free: 27.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004873/0.2668, allocations: 6.438 kB / 0.5612 GB, free: 27.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004067/0.2672, allocations: 167 kB / 0.5613 GB, free: 27.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006869/0.2679, allocations: 335.7 kB / 0.5616 GB, free: 27.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.2691, allocations: 0.6353 MB / 0.5623 GB, free: 26.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008758/0.27, allocations: 1.055 MB / 0.5633 GB, free: 26.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.2703, allocations: 230 kB / 0.5635 GB, free: 26.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.2707, allocations: 437.7 kB / 0.5639 GB, free: 25.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.2712, allocations: 0.53 MB / 0.5644 GB, free: 25.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.2714, allocations: 76 kB / 0.5645 GB, free: 25.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.2716, allocations: 142.2 kB / 0.5647 GB, free: 25.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.2718, allocations: 210.8 kB / 0.5649 GB, free: 25.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.2721, allocations: 464.4 kB / 0.5653 GB, free: 24.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007733/0.2729, allocations: 1.069 MB / 0.5663 GB, free: 24.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2729, allocations: 0 / 0.5663 GB, free: 24.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2729, allocations: 0 / 0.5663 GB, free: 24.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.2729, allocations: 3.938 kB / 0.5663 GB, free: 24.12 MB / 398.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.004683/0.2776, allocations: 1.763 MB / 0.5681 GB, free: 22.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2776, allocations: 13.45 kB / 0.5681 GB, free: 22.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.511e-05/0.2777, allocations: 96.45 kB / 0.5682 GB, free: 22.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/0.2804, allocations: 448.2 kB / 0.5686 GB, free: 22.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008/0.2812, allocations: 0.6321 MB / 0.5692 GB, free: 22.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.2814, allocations: 199.1 kB / 0.5694 GB, free: 21.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.2815, allocations: 50.88 kB / 0.5695 GB, free: 21.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.2829, allocations: 0.7686 MB / 0.5702 GB, free: 21.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.2829, allocations: 0 / 0.5702 GB, free: 21.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.491e-05/0.283, allocations: 24.78 kB / 0.5702 GB, free: 21.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.283, allocations: 13.5 kB / 0.5702 GB, free: 21.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.2844, allocations: 0.7069 MB / 0.5709 GB, free: 21.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.2883, allocations: 2.682 MB / 0.5736 GB, free: 18.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.2897, allocations: 1.039 MB / 0.5746 GB, free: 18.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009113/0.2906, allocations: 485.5 kB / 0.575 GB, free: 17.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.838e-05/0.2907, allocations: 16.39 kB / 0.575 GB, free: 17.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.2919, allocations: 0.5994 MB / 0.5756 GB, free: 17.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.295e-06/0.2919, allocations: 3.938 kB / 0.5756 GB, free: 17.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.01752/0.3094, allocations: 4.599 MB / 0.5801 GB, free: 12.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3095, allocations: 85.67 kB / 0.5802 GB, free: 12.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/0.3103, allocations: 0.708 MB / 0.5809 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.73e-05/0.3104, allocations: 37.7 kB / 0.5809 GB, free: 12.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.3105, allocations: 376.8 kB / 0.5813 GB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.3107, allocations: 236.6 kB / 0.5815 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.3109, allocations: 106.4 kB / 0.5816 GB, free: 11.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.311, allocations: 329.9 kB / 0.5819 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008225/0.3118, allocations: 409.1 kB / 0.5823 GB, free: 10.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.3127, allocations: 0.4981 MB / 0.5828 GB, free: 10.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.3143, allocations: 0.9237 MB / 0.5837 GB, free: 9.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3143, allocations: 0 / 0.5837 GB, free: 9.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008071/0.3224, allocations: 2.582 MB / 0.5862 GB, free: 6.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.3224, allocations: 15.88 kB / 0.5863 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.3224, allocations: 0 / 0.5863 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003778/0.3262, allocations: 1.124 MB / 0.5873 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.3267, allocations: 99.89 kB / 0.5874 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/0.3412, allocations: 6.791 MB / 0.5941 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.3423, allocations: 111.5 kB / 0.5942 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.3424, allocations: 28 kB / 0.5942 GB, free: 14.23 MB / 414.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.0003413/0.3427, allocations: 193.7 kB / 0.5944 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.3429, allocations: 90.97 kB / 0.5945 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009062/0.352, allocations: 2.626 MB / 0.597 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.352, allocations: 11.94 kB / 0.5971 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.352, allocations: 3.984 kB / 0.5971 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.352, allocations: 0 / 0.5971 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.3623, allocations: 3.826 MB / 0.6008 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.3623, allocations: 4 kB / 0.6008 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004274/0.3628, allocations: 83.83 kB / 0.6009 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004011/0.3668, allocations: 1.078 MB / 0.6019 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/0.3669, allocations: 15.98 kB / 0.6019 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/0.3808, allocations: 6.024 MB / 0.6078 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3809, allocations: 0 / 0.6078 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.391, allocations: 3.227 MB / 0.611 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.3914, allocations: 179.8 kB / 0.6112 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.3915, allocations: 12 kB / 0.6112 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/0.3923, allocations: 71.91 kB / 0.6112 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004352/0.3927, allocations: 144.4 kB / 0.6114 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/0.3928, allocations: 24 kB / 0.6114 GB, free: 12.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006755/0.3935, allocations: 0.4912 MB / 0.6119 GB, free: 11.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3935, allocations: 0 / 0.6119 GB, free: 11.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000989/0.3945, allocations: 291.8 kB / 0.6122 GB, free: 11.51 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.01015/0.4047, allocations: 3.788 MB / 0.6159 GB, free: 7.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004548/0.4092, allocations: 1.556 MB / 0.6174 GB, free: 6.109 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4093, allocations: 0 / 0.6174 GB, free: 6.109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003143/0.4124, allocations: 1.064 MB / 0.6184 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/0.4132, allocations: 79.31 kB / 0.6185 GB, free: 4.965 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/0.4392, allocations: 10.82 MB / 0.629 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.4398, allocations: 0.9786 MB / 0.63 GB, free: 8.863 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.4401, allocations: 61.14 kB / 0.6301 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/0.4405, allocations: 315.3 kB / 0.6304 GB, free: 8.492 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4405, allocations: 0 / 0.6304 GB, free: 8.492 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05325/0.4938, allocations: 24.22 MB / 0.654 GB, free: 336 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.86, allocations: 11.62 kB / 0.654 GB, free: 328 kB / 462.1 MB (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)