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.0009464/0.0009464, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 239 MB, free: 5.453 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.001103/0.001104, allocations: 176.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4877/0.4877, allocations: 78.55 MB / 419.9 MB, free: 4.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003709, allocations: 8 kB / 499.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1448, allocations: 69.36 MB / 0.5559 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2629/0.4077, allocations: 4.799 MB / 0.5606 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.4106, allocations: 1.366 MB / 0.5619 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004095/0.411, allocations: 15.31 kB / 0.5619 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.4114, allocations: 120.3 kB / 0.562 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006869/0.4121, allocations: 286 kB / 0.5623 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.4133, allocations: 0.5179 MB / 0.5628 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009572/0.4143, allocations: 0.9646 MB / 0.5638 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.4146, allocations: 179 kB / 0.5639 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.4151, allocations: 371.9 kB / 0.5643 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.4157, allocations: 477.8 kB / 0.5647 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.111e-05/0.4157, allocations: 45.16 kB / 0.5648 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.416, allocations: 97.59 kB / 0.5649 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.4162, allocations: 158.7 kB / 0.565 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.4163, allocations: 168.3 kB / 0.5652 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007251/0.417, allocations: 0.7906 MB / 0.566 GB, free: 36.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.417, allocations: 5.219 kB / 0.566 GB, free: 36.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4171, allocations: 0 / 0.566 GB, free: 36.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.4171, allocations: 0 / 0.566 GB, free: 36.16 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.004087/0.4212, allocations: 1.654 MB / 0.5676 GB, free: 35.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4212, allocations: 9.625 kB / 0.5676 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.4214, allocations: 93.03 kB / 0.5677 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.4237, allocations: 447.6 kB / 0.5681 GB, free: 35.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008443/0.4246, allocations: 0.5946 MB / 0.5687 GB, free: 35.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.4248, allocations: 215.9 kB / 0.5689 GB, free: 34.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/0.4249, allocations: 49.5 kB / 0.5689 GB, free: 34.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.4263, allocations: 0.8145 MB / 0.5697 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4263, allocations: 0 / 0.5697 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.4264, allocations: 26.48 kB / 0.5698 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.4264, allocations: 15.77 kB / 0.5698 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.4279, allocations: 0.7632 MB / 0.5705 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004622/0.4325, allocations: 2.724 MB / 0.5732 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.4341, allocations: 1.085 MB / 0.5742 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000924/0.435, allocations: 0.52 MB / 0.5747 GB, free: 33.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-05/0.4351, allocations: 15.52 kB / 0.5748 GB, free: 33.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.4365, allocations: 0.6444 MB / 0.5754 GB, free: 33.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.925e-06/0.4365, allocations: 0 / 0.5754 GB, free: 33.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01676/0.4533, allocations: 5.588 MB / 0.5809 GB, free: 32.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.4534, allocations: 92.16 kB / 0.5809 GB, free: 32.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.4546, allocations: 0.7001 MB / 0.5816 GB, free: 31.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.4548, allocations: 40.89 kB / 0.5817 GB, free: 31.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.455, allocations: 379.5 kB / 0.582 GB, free: 31.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.4553, allocations: 235.1 kB / 0.5822 GB, free: 31.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.4554, allocations: 11.41 kB / 0.5823 GB, free: 31.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.4554, allocations: 330.1 kB / 0.5826 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009534/0.4564, allocations: 452.4 kB / 0.583 GB, free: 30.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000987/0.4574, allocations: 0.5566 MB / 0.5835 GB, free: 30.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009797/0.4584, allocations: 477.4 kB / 0.584 GB, free: 30.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.4584, allocations: 1.312 kB / 0.584 GB, free: 30.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008639/0.467, allocations: 3.147 MB / 0.5871 GB, free: 29.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.4671, allocations: 11.16 kB / 0.5871 GB, free: 29.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4672, allocations: 6 kB / 0.5871 GB, free: 29.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004129/0.4713, allocations: 1.281 MB / 0.5883 GB, free: 29.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.4718, allocations: 104.1 kB / 0.5884 GB, free: 29.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/0.4869, allocations: 6.893 MB / 0.5952 GB, free: 26.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.4881, allocations: 141.9 kB / 0.5953 GB, free: 26.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.4882, allocations: 27.66 kB / 0.5953 GB, free: 26.18 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004702/0.4887, allocations: 195.8 kB / 0.5955 GB, free: 26.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.489, allocations: 89.09 kB / 0.5956 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009595/0.4986, allocations: 3.196 MB / 0.5987 GB, free: 25.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.4986, allocations: 6.75 kB / 0.5987 GB, free: 25.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4987, allocations: 0 / 0.5987 GB, free: 25.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/0.4987, allocations: 4.797 kB / 0.5987 GB, free: 25.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.5102, allocations: 4.398 MB / 0.603 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/0.5103, allocations: 0 / 0.603 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.5109, allocations: 87.22 kB / 0.6031 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004406/0.5153, allocations: 1.265 MB / 0.6044 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.5155, allocations: 13.12 kB / 0.6044 GB, free: 23.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/0.5293, allocations: 6.023 MB / 0.6102 GB, free: 20.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5293, allocations: 1.281 kB / 0.6102 GB, free: 20.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.5393, allocations: 3.842 MB / 0.614 GB, free: 17.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004921/0.5399, allocations: 179.2 kB / 0.6142 GB, free: 17.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.5402, allocations: 12 kB / 0.6142 GB, free: 17.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009833/0.5412, allocations: 107 kB / 0.6143 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006341/0.5418, allocations: 149.2 kB / 0.6144 GB, free: 17.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/0.5419, allocations: 17.12 kB / 0.6144 GB, free: 17.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006581/0.5426, allocations: 0.49 MB / 0.6149 GB, free: 17.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5426, allocations: 0 / 0.6149 GB, free: 17.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001211/0.5438, allocations: 299.7 kB / 0.6152 GB, free: 16.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {17 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.008988/0.5528, allocations: 4.388 MB / 0.6195 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003819/0.5567, allocations: 1.661 MB / 0.6211 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5567, allocations: 4 kB / 0.6211 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002779/0.5595, allocations: 1.172 MB / 0.6223 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009629/0.5605, allocations: 79.3 kB / 0.6223 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.5761, allocations: 7.871 MB / 0.63 GB, free: 1.363 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.5765, allocations: 0.9748 MB / 0.631 GB, free: 368 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003151/0.5769, allocations: 67.72 kB / 0.631 GB, free: 300 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.5773, allocations: 315.3 kB / 0.6313 GB, free: 15.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5773, allocations: 1.969 kB / 0.6313 GB, free: 15.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04681/0.6241, allocations: 21.72 MB / 0.6526 GB, free: 10.59 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.6244, allocations: 189.2 kB / 0.6527 GB, free: 10.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/2.836, allocations: 0 / 0.6527 GB, free: 10.35 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) Environment - environmentSimulation: