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.001332/0.001332, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.243/1.243, allocations: 222.9 MB / 239 MB, free: 4.734 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.001178/0.001178, allocations: 192.5 kB / 289.2 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4238/0.4238, allocations: 78.53 MB / 417.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 75.89 kB / 497 MB, free: 6.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.131, allocations: 68.18 MB / 0.552 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.22/0.351, allocations: 5.522 MB / 0.5574 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.3541, allocations: 1.446 MB / 0.5588 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009286/0.3551, allocations: 5.719 kB / 0.5588 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006966/0.3558, allocations: 130.7 kB / 0.5589 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.3572, allocations: 275.3 kB / 0.5592 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.3587, allocations: 0.5928 MB / 0.5597 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.3602, allocations: 1.054 MB / 0.5608 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.3606, allocations: 227.4 kB / 0.561 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/0.3613, allocations: 446.8 kB / 0.5614 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005751/0.3619, allocations: 0.519 MB / 0.5619 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.362, allocations: 79.72 kB / 0.562 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.3623, allocations: 146.6 kB / 0.5621 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3625, allocations: 207.7 kB / 0.5623 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.3628, allocations: 471.8 kB / 0.5628 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.3639, allocations: 1.073 MB / 0.5638 GB, free: 35.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3639, allocations: 4.594 kB / 0.5638 GB, free: 35.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3639, allocations: 0 / 0.5638 GB, free: 35.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3639, allocations: 0 / 0.5638 GB, free: 35.21 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.004392/0.3683, allocations: 1.753 MB / 0.5655 GB, free: 34.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3683, allocations: 9.75 kB / 0.5656 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.3685, allocations: 103 kB / 0.5657 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/0.3709, allocations: 446.8 kB / 0.5661 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007175/0.3716, allocations: 0.6288 MB / 0.5667 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.3718, allocations: 197.8 kB / 0.5669 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.781e-05/0.3719, allocations: 62.81 kB / 0.5669 GB, free: 33.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.3732, allocations: 0.7672 MB / 0.5677 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3732, allocations: 0 / 0.5677 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/0.3733, allocations: 25.22 kB / 0.5677 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.3733, allocations: 15.27 kB / 0.5677 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.3746, allocations: 0.705 MB / 0.5684 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/0.3783, allocations: 2.673 MB / 0.571 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.3796, allocations: 1.043 MB / 0.572 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008117/0.3805, allocations: 488 kB / 0.5725 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/0.3805, allocations: 15.27 kB / 0.5725 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/0.3816, allocations: 0.5917 MB / 0.5731 GB, free: 32.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.344e-06/0.3816, allocations: 2.812 kB / 0.5731 GB, free: 32.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01686/0.3985, allocations: 4.598 MB / 0.5776 GB, free: 31.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3986, allocations: 89.17 kB / 0.5777 GB, free: 31.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008463/0.3994, allocations: 0.7095 MB / 0.5784 GB, free: 31.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.3995, allocations: 35.55 kB / 0.5784 GB, free: 31.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.3997, allocations: 378.5 kB / 0.5788 GB, free: 31.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.3999, allocations: 230.6 kB / 0.579 GB, free: 31.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.4001, allocations: 107.6 kB / 0.5791 GB, free: 31.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.4002, allocations: 325.9 kB / 0.5794 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008237/0.401, allocations: 408.3 kB / 0.5798 GB, free: 30.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/0.402, allocations: 0.5073 MB / 0.5803 GB, free: 30.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.4037, allocations: 0.9176 MB / 0.5812 GB, free: 30.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4038, allocations: 0 / 0.5812 GB, free: 30.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008342/0.4121, allocations: 2.587 MB / 0.5837 GB, free: 29.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.4121, allocations: 10.72 kB / 0.5837 GB, free: 29.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4122, allocations: 5.156 kB / 0.5837 GB, free: 29.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/0.4161, allocations: 1.119 MB / 0.5848 GB, free: 29.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.4166, allocations: 93.05 kB / 0.5849 GB, free: 29.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/0.4322, allocations: 6.792 MB / 0.5915 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.4334, allocations: 113.3 kB / 0.5916 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.4335, allocations: 28 kB / 0.5917 GB, free: 25.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.0003829/0.4339, allocations: 200.8 kB / 0.5919 GB, free: 25.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.4341, allocations: 86.98 kB / 0.5919 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009268/0.4433, allocations: 2.627 MB / 0.5945 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.4434, allocations: 10.91 kB / 0.5945 GB, free: 24.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4434, allocations: 3.641 kB / 0.5945 GB, free: 24.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.4434, allocations: 7.812 kB / 0.5945 GB, free: 24.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.4542, allocations: 3.822 MB / 0.5983 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.4542, allocations: 1.281 kB / 0.5983 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.4547, allocations: 82.64 kB / 0.5983 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004049/0.4587, allocations: 1.083 MB / 0.5994 GB, free: 23.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.4588, allocations: 12.5 kB / 0.5994 GB, free: 23.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/0.4724, allocations: 6.018 MB / 0.6053 GB, free: 20.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4724, allocations: 0 / 0.6053 GB, free: 20.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009785/0.4822, allocations: 3.22 MB / 0.6084 GB, free: 18.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.4827, allocations: 179.1 kB / 0.6086 GB, free: 18.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.4828, allocations: 13.09 kB / 0.6086 GB, free: 18.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/0.4836, allocations: 75.23 kB / 0.6087 GB, free: 18.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005317/0.4842, allocations: 148.9 kB / 0.6088 GB, free: 18.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.4842, allocations: 20.22 kB / 0.6089 GB, free: 18.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006416/0.4849, allocations: 0.4958 MB / 0.6093 GB, free: 18.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4849, allocations: 4 kB / 0.6093 GB, free: 18.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009874/0.4859, allocations: 293.5 kB / 0.6096 GB, free: 18.35 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.009415/0.4953, allocations: 3.783 MB / 0.6133 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003941/0.4993, allocations: 1.546 MB / 0.6148 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4993, allocations: 0 / 0.6148 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.502, allocations: 1.068 MB / 0.6159 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008141/0.5028, allocations: 81.09 kB / 0.6159 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/0.525, allocations: 11.09 MB / 0.6268 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.5254, allocations: 0.9747 MB / 0.6277 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.5256, allocations: 65.89 kB / 0.6278 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.526, allocations: 325.2 kB / 0.6281 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.526, allocations: 0 / 0.6281 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04257/0.5686, allocations: 23.35 MB / 0.6509 GB, free: 9.496 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.5688, allocations: 203.7 kB / 0.6511 GB, free: 9.242 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.86, allocations: 0 / 0.6511 GB, free: 9.242 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)