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.001647/0.001647, 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.429/1.429, allocations: 222.9 MB / 239 MB, free: 4.73 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.001455/0.001455, allocations: 188.5 kB / 289.3 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.551/0.551, allocations: 91.9 MB / 431.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 67.89 kB / 0.5015 GB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4117, allocations: 71.26 MB / 0.5711 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.00534/0.4171, allocations: 5.556 MB / 0.5765 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002991/0.4201, allocations: 1.442 MB / 0.5779 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.4207, allocations: 8.719 kB / 0.5779 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.4211, allocations: 124.8 kB / 0.578 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007282/0.4219, allocations: 281 kB / 0.5783 GB, free: 32.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.4238, allocations: 0.5939 MB / 0.5789 GB, free: 32.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.4253, allocations: 1.05 MB / 0.5799 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.4259, allocations: 228.8 kB / 0.5801 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007462/0.4266, allocations: 439 kB / 0.5805 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007402/0.4274, allocations: 0.5337 MB / 0.5811 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.4275, allocations: 76.41 kB / 0.5811 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/0.428, allocations: 139.9 kB / 0.5813 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.4282, allocations: 204.5 kB / 0.5815 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004651/0.4287, allocations: 473.6 kB / 0.5819 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.43, allocations: 1.073 MB / 0.583 GB, free: 29.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.43, allocations: 0 / 0.583 GB, free: 29.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4301, allocations: 0 / 0.583 GB, free: 29.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.4301, allocations: 0 / 0.583 GB, free: 29.96 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.007034/0.4371, allocations: 1.756 MB / 0.5847 GB, free: 29.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/0.4372, allocations: 12.88 kB / 0.5847 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.4374, allocations: 98.59 kB / 0.5848 GB, free: 28.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00396/0.4414, allocations: 455.1 kB / 0.5852 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.4427, allocations: 0.6215 MB / 0.5858 GB, free: 28.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.4431, allocations: 201.9 kB / 0.586 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.4433, allocations: 61.19 kB / 0.5861 GB, free: 28.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.4456, allocations: 0.7684 MB / 0.5868 GB, free: 27.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.4457, allocations: 1.312 kB / 0.5868 GB, free: 27.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.4458, allocations: 23.75 kB / 0.5869 GB, free: 27.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.4458, allocations: 16.73 kB / 0.5869 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.4484, allocations: 0.7015 MB / 0.5876 GB, free: 27.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007429/0.4559, allocations: 2.682 MB / 0.5902 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.4585, allocations: 1.037 MB / 0.5912 GB, free: 25.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/0.4603, allocations: 495.5 kB / 0.5917 GB, free: 25.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.4604, allocations: 11.39 kB / 0.5917 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001976/0.4624, allocations: 0.5922 MB / 0.5923 GB, free: 24.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 4.669e-06/0.4625, allocations: 1.531 kB / 0.5923 GB, free: 24.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.03479/0.4973, allocations: 4.595 MB / 0.5967 GB, free: 23.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.4974, allocations: 85.11 kB / 0.5968 GB, free: 23.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.4997, allocations: 0.7162 MB / 0.5975 GB, free: 23.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002215/0.5, allocations: 36.11 kB / 0.5976 GB, free: 23.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.5004, allocations: 384.5 kB / 0.5979 GB, free: 23.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/0.501, allocations: 222.5 kB / 0.5981 GB, free: 22.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000511/0.5015, allocations: 106.3 kB / 0.5982 GB, free: 22.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5016, allocations: 332.3 kB / 0.5986 GB, free: 22.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.5035, allocations: 403.2 kB / 0.5989 GB, free: 22.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.5054, allocations: 0.5086 MB / 0.5994 GB, free: 22.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0035/0.5089, allocations: 0.9194 MB / 0.6003 GB, free: 21.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.509, allocations: 0 / 0.6003 GB, free: 21.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.01293/0.5219, allocations: 2.583 MB / 0.6029 GB, free: 21.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.522, allocations: 11.25 kB / 0.6029 GB, free: 21.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.522, allocations: 6.812 kB / 0.6029 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004572/0.5266, allocations: 1.12 MB / 0.604 GB, free: 20.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.5272, allocations: 94.75 kB / 0.6041 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/0.544, allocations: 6.792 MB / 0.6107 GB, free: 17.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.5452, allocations: 108.7 kB / 0.6108 GB, free: 17.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.5454, allocations: 27.47 kB / 0.6108 GB, free: 17.41 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.0004919/0.5459, allocations: 203.4 kB / 0.611 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.5462, allocations: 86.58 kB / 0.6111 GB, free: 17.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009286/0.5555, allocations: 2.626 MB / 0.6137 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.5555, allocations: 10.78 kB / 0.6137 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5555, allocations: 0 / 0.6137 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.5555, allocations: 5.188 kB / 0.6137 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.5658, allocations: 3.833 MB / 0.6174 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.5659, allocations: 0 / 0.6174 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.5663, allocations: 80.86 kB / 0.6175 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/0.5699, allocations: 1.081 MB / 0.6185 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.57, allocations: 15.94 kB / 0.6186 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/0.582, allocations: 6.024 MB / 0.6244 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5821, allocations: 0 / 0.6244 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008971/0.591, allocations: 3.219 MB / 0.6276 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.5915, allocations: 175.8 kB / 0.6278 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.5917, allocations: 19.98 kB / 0.6278 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/0.5926, allocations: 75.92 kB / 0.6279 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/0.593, allocations: 140.4 kB / 0.628 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/0.5931, allocations: 23.92 kB / 0.628 GB, free: 3.516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006473/0.5938, allocations: 0.4912 MB / 0.6285 GB, free: 3.027 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5938, allocations: 0 / 0.6285 GB, free: 3.027 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00113/0.5949, allocations: 295.7 kB / 0.6288 GB, free: 2.738 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.009256/0.6042, allocations: 3.788 MB / 0.6325 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004672/0.6089, allocations: 1.556 MB / 0.634 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.6089, allocations: 0 / 0.634 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003226/0.6121, allocations: 1.068 MB / 0.635 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009603/0.6131, allocations: 83.3 kB / 0.6351 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/0.641, allocations: 11.08 MB / 0.6459 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/0.6418, allocations: 0.9748 MB / 0.6469 GB, free: 15.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003474/0.6422, allocations: 61.14 kB / 0.6469 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.6427, allocations: 319.3 kB / 0.6472 GB, free: 15.46 MB / 462.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6427, allocations: 4 kB / 0.6473 GB, free: 15.45 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05054/0.6933, allocations: 23.35 MB / 0.6701 GB, free: 8.254 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.6935, allocations: 203.1 kB / 0.6703 GB, free: 8.004 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.147, allocations: 3.938 kB / 0.6703 GB, free: 8 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)