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.001377/0.001377, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.358/1.358, allocations: 222.9 MB / 238.8 MB, free: 4.668 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.001513/0.001513, allocations: 180.5 kB / 289.1 MB, free: 2.414 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4926/0.4926, allocations: 78.52 MB / 417.8 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 71.89 kB / 496.9 MB, free: 6.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1442, allocations: 68.16 MB / 0.5518 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2705/0.4148, allocations: 5.524 MB / 0.5572 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.4178, allocations: 1.452 MB / 0.5586 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004396/0.4183, allocations: 9.156 kB / 0.5586 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.4188, allocations: 125.6 kB / 0.5587 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.4195, allocations: 278.2 kB / 0.559 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.4208, allocations: 0.6024 MB / 0.5596 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009482/0.4217, allocations: 1.013 MB / 0.5606 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.4221, allocations: 200.3 kB / 0.5607 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.4225, allocations: 405.7 kB / 0.5611 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.423, allocations: 0.5007 MB / 0.5616 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.366e-05/0.4231, allocations: 49.28 kB / 0.5617 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.4234, allocations: 112.6 kB / 0.5618 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.4235, allocations: 176.2 kB / 0.5619 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.4238, allocations: 428.9 kB / 0.5624 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008212/0.4247, allocations: 1.044 MB / 0.5634 GB, free: 35.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4247, allocations: 0 / 0.5634 GB, free: 35.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4247, allocations: 0 / 0.5634 GB, free: 35.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.4247, allocations: 3.75 kB / 0.5634 GB, free: 35.14 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.004512/0.4292, allocations: 1.758 MB / 0.5651 GB, free: 34.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4293, allocations: 11.81 kB / 0.5651 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.4294, allocations: 99.33 kB / 0.5652 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.4319, allocations: 445.7 kB / 0.5656 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.4326, allocations: 0.628 MB / 0.5662 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.4329, allocations: 202.1 kB / 0.5664 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.11e-05/0.433, allocations: 58.09 kB / 0.5665 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.4343, allocations: 0.7645 MB / 0.5672 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.4343, allocations: 4.203 kB / 0.5672 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.4344, allocations: 25.44 kB / 0.5673 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.4344, allocations: 15.41 kB / 0.5673 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.4358, allocations: 0.6965 MB / 0.568 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.4398, allocations: 2.688 MB / 0.5706 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.4412, allocations: 1.035 MB / 0.5716 GB, free: 32.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008691/0.4421, allocations: 487.6 kB / 0.5721 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.88e-05/0.4421, allocations: 16.48 kB / 0.5721 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.4433, allocations: 0.5916 MB / 0.5727 GB, free: 32.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 4.148e-06/0.4434, allocations: 1.031 kB / 0.5727 GB, free: 32.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01748/0.4608, allocations: 4.598 MB / 0.5771 GB, free: 31.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.4609, allocations: 92.05 kB / 0.5772 GB, free: 31.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009134/0.4618, allocations: 0.7087 MB / 0.5779 GB, free: 31.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.462, allocations: 36.23 kB / 0.578 GB, free: 31.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.4622, allocations: 380.5 kB / 0.5783 GB, free: 31.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.4624, allocations: 231 kB / 0.5785 GB, free: 31.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.4626, allocations: 103.5 kB / 0.5786 GB, free: 31.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.4627, allocations: 329.4 kB / 0.579 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/0.4635, allocations: 406 kB / 0.5793 GB, free: 30.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/0.4645, allocations: 0.5136 MB / 0.5798 GB, free: 30.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.4664, allocations: 0.9227 MB / 0.5807 GB, free: 30.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.4664, allocations: 1.344 kB / 0.5807 GB, free: 30.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008274/0.4747, allocations: 2.588 MB / 0.5833 GB, free: 29.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.4747, allocations: 14.06 kB / 0.5833 GB, free: 29.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4747, allocations: 2.312 kB / 0.5833 GB, free: 29.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003967/0.4787, allocations: 1.116 MB / 0.5844 GB, free: 29.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.4792, allocations: 92.89 kB / 0.5845 GB, free: 29.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.4938, allocations: 6.234 MB / 0.5906 GB, free: 26.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.495, allocations: 116.8 kB / 0.5907 GB, free: 26.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.4951, allocations: 22.72 kB / 0.5907 GB, free: 26.21 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.0004631/0.4956, allocations: 202.2 kB / 0.5909 GB, free: 26.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.4959, allocations: 90.5 kB / 0.591 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009391/0.5053, allocations: 2.629 MB / 0.5935 GB, free: 25.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.5054, allocations: 6.656 kB / 0.5935 GB, free: 25.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5054, allocations: 0 / 0.5935 GB, free: 25.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/0.5054, allocations: 6 kB / 0.5935 GB, free: 25.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.5168, allocations: 3.834 MB / 0.5973 GB, free: 23.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.5168, allocations: 5.141 kB / 0.5973 GB, free: 23.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.5173, allocations: 78.69 kB / 0.5974 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00418/0.5215, allocations: 1.073 MB / 0.5984 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.5217, allocations: 17.83 kB / 0.5984 GB, free: 23.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/0.535, allocations: 5.479 MB / 0.6038 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.535, allocations: 1.188 kB / 0.6038 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.5453, allocations: 3.224 MB / 0.6069 GB, free: 19.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.5458, allocations: 176.8 kB / 0.6071 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/0.5461, allocations: 16.16 kB / 0.6071 GB, free: 19.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009423/0.547, allocations: 74.98 kB / 0.6072 GB, free: 19.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005604/0.5476, allocations: 143.3 kB / 0.6073 GB, free: 19.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.212e-05/0.5477, allocations: 20.92 kB / 0.6073 GB, free: 19.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008241/0.5485, allocations: 0.4917 MB / 0.6078 GB, free: 19.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5485, allocations: 4 kB / 0.6078 GB, free: 19.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001422/0.55, allocations: 300.4 kB / 0.6081 GB, free: 19.24 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.009585/0.5596, allocations: 3.775 MB / 0.6118 GB, free: 17.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004024/0.5636, allocations: 1.506 MB / 0.6133 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.5637, allocations: 0 / 0.6133 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002842/0.5665, allocations: 1.028 MB / 0.6143 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.5677, allocations: 80.84 kB / 0.6144 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/0.5928, allocations: 11.1 MB / 0.6252 GB, free: 3.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.5936, allocations: 0.9747 MB / 0.6261 GB, free: 2.363 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003753/0.5939, allocations: 64.16 kB / 0.6262 GB, free: 2.301 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.5945, allocations: 319.2 kB / 0.6265 GB, free: 1.988 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5945, allocations: 0 / 0.6265 GB, free: 1.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04676/0.6412, allocations: 22.3 MB / 0.6483 GB, free: 12.02 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.6415, allocations: 204.3 kB / 0.6485 GB, free: 11.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/2.975, allocations: 0 / 0.6485 GB, free: 11.76 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/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)