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.0009515/0.0009517, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.426/1.426, allocations: 223.3 MB / 239.4 MB, free: 5.504 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.001698/0.001698, allocations: 179.6 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5481/0.5481, allocations: 91.92 MB / 433.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004326, allocations: 12 kB / 0.5049 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.429, allocations: 72.46 MB / 0.5756 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004446/0.4335, allocations: 5.134 MB / 0.5806 GB, free: 33.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.4364, allocations: 1.43 MB / 0.582 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004077/0.4368, allocations: 8.812 kB / 0.582 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.4372, allocations: 127.6 kB / 0.5822 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006688/0.4379, allocations: 274.3 kB / 0.5824 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.4391, allocations: 0.5959 MB / 0.583 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008505/0.4399, allocations: 1.007 MB / 0.584 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.4403, allocations: 203.3 kB / 0.5842 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003731/0.4406, allocations: 387.6 kB / 0.5846 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.4412, allocations: 486.9 kB / 0.585 GB, free: 30.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.042e-05/0.4413, allocations: 42.91 kB / 0.5851 GB, free: 30.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.4415, allocations: 100.3 kB / 0.5852 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.4416, allocations: 160.2 kB / 0.5853 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.442, allocations: 456.2 kB / 0.5857 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007422/0.4427, allocations: 1.022 MB / 0.5867 GB, free: 29.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4427, allocations: 0 / 0.5867 GB, free: 29.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4427, allocations: 0.5312 kB / 0.5867 GB, free: 29.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4427, allocations: 0.875 kB / 0.5867 GB, free: 29.93 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.004488/0.4472, allocations: 1.632 MB / 0.5883 GB, free: 29.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.4473, allocations: 9.781 kB / 0.5884 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.4474, allocations: 97.73 kB / 0.5884 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.45, allocations: 451 kB / 0.5889 GB, free: 28.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008531/0.4509, allocations: 0.6266 MB / 0.5895 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.4511, allocations: 210.8 kB / 0.5897 GB, free: 28.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4512, allocations: 50.66 kB / 0.5897 GB, free: 28.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.4529, allocations: 0.8159 MB / 0.5905 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.4529, allocations: 4 kB / 0.5905 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.453, allocations: 24.75 kB / 0.5906 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.453, allocations: 16.75 kB / 0.5906 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.4546, allocations: 0.7648 MB / 0.5913 GB, free: 27.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/0.459, allocations: 2.732 MB / 0.594 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.4606, allocations: 1.086 MB / 0.5951 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.4617, allocations: 0.5297 MB / 0.5956 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.4618, allocations: 15.02 kB / 0.5956 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.4632, allocations: 0.6372 MB / 0.5962 GB, free: 24.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.064e-06/0.4632, allocations: 0 / 0.5962 GB, free: 24.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.02242/0.4856, allocations: 5.61 MB / 0.6017 GB, free: 23.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.4857, allocations: 91.02 kB / 0.6018 GB, free: 23.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.4877, allocations: 0.718 MB / 0.6025 GB, free: 23.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.4879, allocations: 36.92 kB / 0.6025 GB, free: 23.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.4883, allocations: 380.7 kB / 0.6029 GB, free: 23.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/0.4887, allocations: 227.6 kB / 0.6031 GB, free: 22.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.4888, allocations: 54.81 kB / 0.6031 GB, free: 22.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.4889, allocations: 327.2 kB / 0.6035 GB, free: 22.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.4902, allocations: 457.4 kB / 0.6039 GB, free: 22.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.4915, allocations: 0.5515 MB / 0.6044 GB, free: 22.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.4937, allocations: 1.024 MB / 0.6054 GB, free: 21.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4937, allocations: 0 / 0.6054 GB, free: 21.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.01076/0.5045, allocations: 3.156 MB / 0.6085 GB, free: 21.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.5046, allocations: 16.16 kB / 0.6085 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.5046, allocations: 8.125 kB / 0.6085 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005017/0.5096, allocations: 1.303 MB / 0.6098 GB, free: 20.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.5102, allocations: 100.3 kB / 0.6099 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/0.5288, allocations: 6.882 MB / 0.6166 GB, free: 17.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.5303, allocations: 133.8 kB / 0.6167 GB, free: 17.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.5305, allocations: 23.58 kB / 0.6168 GB, free: 17.48 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.0006169/0.5311, allocations: 203.8 kB / 0.617 GB, free: 17.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003548/0.5315, allocations: 90.48 kB / 0.6171 GB, free: 17.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.5421, allocations: 3.2 MB / 0.6202 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.5422, allocations: 8 kB / 0.6202 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5422, allocations: 4 kB / 0.6202 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.5422, allocations: 3.984 kB / 0.6202 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.5527, allocations: 4.404 MB / 0.6245 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.5528, allocations: 0 / 0.6245 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.5532, allocations: 91.89 kB / 0.6246 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003886/0.5571, allocations: 1.261 MB / 0.6258 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-05/0.5572, allocations: 12 kB / 0.6258 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.57, allocations: 6.023 MB / 0.6317 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.5701, allocations: 4 kB / 0.6317 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.5804, allocations: 3.841 MB / 0.6355 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.5808, allocations: 179.8 kB / 0.6356 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.5811, allocations: 19.94 kB / 0.6356 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.5821, allocations: 103.9 kB / 0.6357 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004769/0.5826, allocations: 140.3 kB / 0.6359 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/0.5827, allocations: 19.98 kB / 0.6359 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000869/0.5836, allocations: 0.4951 MB / 0.6364 GB, free: 14.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5836, allocations: 0 / 0.6364 GB, free: 14.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001357/0.585, allocations: 291.8 kB / 0.6367 GB, free: 14.08 MB / 446.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.01145/0.5964, allocations: 4.405 MB / 0.641 GB, free: 9.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004876/0.6013, allocations: 1.693 MB / 0.6426 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.6014, allocations: 0 / 0.6426 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003383/0.6048, allocations: 1.188 MB / 0.6438 GB, free: 6.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6058, allocations: 79.3 kB / 0.6439 GB, free: 6.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03074/0.6366, allocations: 12.35 MB / 0.6559 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.6374, allocations: 0.9708 MB / 0.6569 GB, free: 9.023 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003593/0.6377, allocations: 69.12 kB / 0.6569 GB, free: 8.953 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/0.6383, allocations: 319.3 kB / 0.6572 GB, free: 8.641 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6383, allocations: 0 / 0.6572 GB, free: 8.641 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04837/0.6867, allocations: 21.88 MB / 0.6786 GB, free: 2.914 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.687, allocations: 214 kB / 0.6788 GB, free: 2.652 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.064, allocations: 3.938 kB / 0.6788 GB, free: 2.648 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)