Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_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.001676/0.001676, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.395/1.395, allocations: 222.9 MB / 238.9 MB, free: 4.762 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.001444/0.001444, allocations: 188.5 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5605/0.5605, allocations: 91.89 MB / 431.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 75.88 kB / 0.5013 GB, free: 8.066 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.391, allocations: 71.27 MB / 0.5709 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005342/0.3964, allocations: 5.543 MB / 0.5763 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.3986, allocations: 1.447 MB / 0.5777 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.3988, allocations: 8.562 kB / 0.5777 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.3992, allocations: 124.9 kB / 0.5779 GB, free: 32.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000508/0.3997, allocations: 278 kB / 0.5781 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.4008, allocations: 0.6114 MB / 0.5787 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007485/0.4016, allocations: 1.004 MB / 0.5797 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.4019, allocations: 204.8 kB / 0.5799 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.4022, allocations: 407.6 kB / 0.5803 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.4027, allocations: 0.5008 MB / 0.5808 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.013e-05/0.4028, allocations: 46.34 kB / 0.5808 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.4031, allocations: 112.6 kB / 0.5809 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.4032, allocations: 175.6 kB / 0.5811 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.4035, allocations: 438.9 kB / 0.5815 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007129/0.4042, allocations: 1.039 MB / 0.5825 GB, free: 30.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4043, allocations: 0 / 0.5825 GB, free: 30.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4043, allocations: 0 / 0.5825 GB, free: 30.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.4043, allocations: 3.938 kB / 0.5825 GB, free: 30.01 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.004176/0.4085, allocations: 1.76 MB / 0.5843 GB, free: 29.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4085, allocations: 14.8 kB / 0.5843 GB, free: 29.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.4086, allocations: 96.48 kB / 0.5844 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.4111, allocations: 451.4 kB / 0.5848 GB, free: 28.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.4118, allocations: 0.6214 MB / 0.5854 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.412, allocations: 206.1 kB / 0.5856 GB, free: 28.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.506e-05/0.4121, allocations: 56.97 kB / 0.5856 GB, free: 28.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.4136, allocations: 0.7687 MB / 0.5864 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.4136, allocations: 0 / 0.5864 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.4137, allocations: 28.16 kB / 0.5864 GB, free: 27.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.4137, allocations: 13.47 kB / 0.5864 GB, free: 27.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.4151, allocations: 0.701 MB / 0.5871 GB, free: 27.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.4189, allocations: 2.682 MB / 0.5897 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.4204, allocations: 1.043 MB / 0.5908 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009258/0.4213, allocations: 484.7 kB / 0.5912 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.073e-05/0.4214, allocations: 12.58 kB / 0.5912 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.4226, allocations: 0.5913 MB / 0.5918 GB, free: 24.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 1.733e-06/0.4226, allocations: 4 kB / 0.5918 GB, free: 24.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.0172/0.4398, allocations: 4.595 MB / 0.5963 GB, free: 23.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.4399, allocations: 92.73 kB / 0.5964 GB, free: 23.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009396/0.4408, allocations: 0.7092 MB / 0.5971 GB, free: 23.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/0.4409, allocations: 36.64 kB / 0.5971 GB, free: 23.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.4411, allocations: 381 kB / 0.5975 GB, free: 23.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.4413, allocations: 226.7 kB / 0.5977 GB, free: 23.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.4416, allocations: 105.9 kB / 0.5978 GB, free: 22.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.4417, allocations: 331.4 kB / 0.5981 GB, free: 22.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009043/0.4426, allocations: 403.3 kB / 0.5985 GB, free: 22.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009602/0.4435, allocations: 0.5088 MB / 0.599 GB, free: 22.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.4455, allocations: 0.9187 MB / 0.5999 GB, free: 21.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4455, allocations: 1.656 kB / 0.5999 GB, free: 21.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008684/0.4542, allocations: 2.581 MB / 0.6024 GB, free: 21.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4542, allocations: 11.11 kB / 0.6024 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4542, allocations: 3.344 kB / 0.6024 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004105/0.4583, allocations: 1.118 MB / 0.6035 GB, free: 20.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.4588, allocations: 100.1 kB / 0.6036 GB, free: 20.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.4736, allocations: 6.24 MB / 0.6097 GB, free: 17.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.4748, allocations: 113.5 kB / 0.6098 GB, free: 17.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.4748, allocations: 22.97 kB / 0.6098 GB, free: 17.77 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.0004244/0.4753, allocations: 199.3 kB / 0.61 GB, free: 17.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.4755, allocations: 93.58 kB / 0.6101 GB, free: 17.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008989/0.4845, allocations: 2.63 MB / 0.6127 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.4846, allocations: 6.938 kB / 0.6127 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4846, allocations: 1.125 kB / 0.6127 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.4846, allocations: 4.031 kB / 0.6127 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.495, allocations: 3.832 MB / 0.6164 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.495, allocations: 0 / 0.6164 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.4954, allocations: 80.17 kB / 0.6165 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003889/0.4993, allocations: 1.073 MB / 0.6176 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/0.4994, allocations: 19.98 kB / 0.6176 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/0.5108, allocations: 5.486 MB / 0.6229 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.5108, allocations: 4 kB / 0.6229 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008596/0.5194, allocations: 3.223 MB / 0.6261 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.5198, allocations: 171.9 kB / 0.6263 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.52, allocations: 19.92 kB / 0.6263 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008455/0.5209, allocations: 75.92 kB / 0.6263 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/0.5213, allocations: 144.2 kB / 0.6265 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/0.5214, allocations: 20 kB / 0.6265 GB, free: 4.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006664/0.5221, allocations: 0.499 MB / 0.627 GB, free: 4.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5221, allocations: 0 / 0.627 GB, free: 4.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001119/0.5232, allocations: 291.7 kB / 0.6273 GB, free: 4.145 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.008708/0.5319, allocations: 3.781 MB / 0.631 GB, free: 332 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004283/0.5362, allocations: 1.497 MB / 0.6324 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5363, allocations: 0 / 0.6324 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002901/0.5392, allocations: 1.04 MB / 0.6334 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.5402, allocations: 89.69 kB / 0.6335 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/0.5669, allocations: 11.08 MB / 0.6443 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000636/0.5675, allocations: 0.9709 MB / 0.6453 GB, free: 1.324 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000304/0.5679, allocations: 69.14 kB / 0.6454 GB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.5683, allocations: 315.3 kB / 0.6457 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5683, allocations: 0 / 0.6457 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04357/0.6119, allocations: 22.32 MB / 0.6675 GB, free: 10.76 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.6121, allocations: 207.3 kB / 0.6677 GB, free: 10.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/2.89, allocations: 8 kB / 0.6677 GB, free: 10.5 MB / 478.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)