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.0007996/0.0007996, allocations: 86.72 kB / 15.06 MB, free: 1.09 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: 223.2 MB / 239 MB, free: 5.449 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.001329/0.001329, allocations: 172.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4906/0.4906, allocations: 79.47 MB / 420.8 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 8 kB / 0.4892 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4265, allocations: 69.5 MB / 0.5571 GB, free: 37.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.00445/0.431, allocations: 4.819 MB / 0.5618 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.4338, allocations: 1.367 MB / 0.5631 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.4342, allocations: 7.906 kB / 0.5631 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.4345, allocations: 127.6 kB / 0.5633 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006641/0.4352, allocations: 287.2 kB / 0.5635 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.4363, allocations: 0.5151 MB / 0.564 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008353/0.4372, allocations: 0.9616 MB / 0.565 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.4375, allocations: 184.5 kB / 0.5651 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.4379, allocations: 378.7 kB / 0.5655 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.4384, allocations: 478.8 kB / 0.566 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.325e-05/0.4384, allocations: 41.19 kB / 0.566 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.4387, allocations: 92.16 kB / 0.5661 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.4388, allocations: 160.4 kB / 0.5662 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.4389, allocations: 175.7 kB / 0.5664 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.4395, allocations: 0.7859 MB / 0.5672 GB, free: 36.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4395, allocations: 0 / 0.5672 GB, free: 36.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4395, allocations: 0 / 0.5672 GB, free: 36.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.4396, allocations: 0 / 0.5672 GB, free: 36.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.003786/0.4433, allocations: 1.652 MB / 0.5688 GB, free: 35.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4434, allocations: 10 kB / 0.5688 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.4435, allocations: 99.83 kB / 0.5689 GB, free: 35.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.4458, allocations: 441.2 kB / 0.5693 GB, free: 35.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008061/0.4466, allocations: 0.6115 MB / 0.5699 GB, free: 35.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.4468, allocations: 208.6 kB / 0.5701 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.4469, allocations: 53.44 kB / 0.5702 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.4483, allocations: 0.8134 MB / 0.571 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.4483, allocations: 0 / 0.571 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.4484, allocations: 25.78 kB / 0.571 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.4484, allocations: 16.92 kB / 0.571 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.4498, allocations: 0.7571 MB / 0.5717 GB, free: 34.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.4535, allocations: 2.721 MB / 0.5744 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.4548, allocations: 1.085 MB / 0.5755 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/0.4556, allocations: 0.5259 MB / 0.576 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.4557, allocations: 16.95 kB / 0.576 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.4568, allocations: 0.6432 MB / 0.5766 GB, free: 32.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.265e-06/0.4568, allocations: 0 / 0.5766 GB, free: 32.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01601/0.4728, allocations: 5.588 MB / 0.5821 GB, free: 31.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.4729, allocations: 88.38 kB / 0.5822 GB, free: 31.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.4741, allocations: 0.7 MB / 0.5828 GB, free: 31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-05/0.4741, allocations: 35.52 kB / 0.5829 GB, free: 30.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.4744, allocations: 380.5 kB / 0.5832 GB, free: 30.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.4746, allocations: 233.1 kB / 0.5835 GB, free: 30.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.4747, allocations: 18.53 kB / 0.5835 GB, free: 30.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.351e-05/0.4747, allocations: 326.1 kB / 0.5838 GB, free: 30.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008799/0.4756, allocations: 454.9 kB / 0.5842 GB, free: 30.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009248/0.4765, allocations: 0.5489 MB / 0.5848 GB, free: 29.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009298/0.4775, allocations: 482.3 kB / 0.5852 GB, free: 29.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4775, allocations: 1.344 kB / 0.5852 GB, free: 29.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008171/0.4857, allocations: 3.147 MB / 0.5883 GB, free: 28.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.4857, allocations: 8.812 kB / 0.5883 GB, free: 28.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.4857, allocations: 5.406 kB / 0.5883 GB, free: 28.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003811/0.4896, allocations: 1.295 MB / 0.5896 GB, free: 28.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.49, allocations: 100.7 kB / 0.5897 GB, free: 28.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/0.5035, allocations: 6.885 MB / 0.5964 GB, free: 25.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.5046, allocations: 155.4 kB / 0.5965 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/0.5047, allocations: 23.33 kB / 0.5966 GB, free: 25.36 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003445/0.505, allocations: 196.3 kB / 0.5967 GB, free: 25.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.5052, allocations: 89.62 kB / 0.5968 GB, free: 25.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008948/0.5141, allocations: 3.192 MB / 0.5999 GB, free: 24.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.5142, allocations: 7.844 kB / 0.6 GB, free: 24.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5142, allocations: 0.9688 kB / 0.6 GB, free: 24.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.5142, allocations: 4.547 kB / 0.6 GB, free: 24.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.5249, allocations: 4.398 MB / 0.6043 GB, free: 22.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.525, allocations: 6.094 kB / 0.6043 GB, free: 22.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.5254, allocations: 83.67 kB / 0.6043 GB, free: 22.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003977/0.5294, allocations: 1.266 MB / 0.6056 GB, free: 22.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.173e-05/0.5295, allocations: 16.08 kB / 0.6056 GB, free: 22.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.5428, allocations: 6.021 MB / 0.6115 GB, free: 19.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5428, allocations: 1.688 kB / 0.6115 GB, free: 19.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009643/0.5525, allocations: 3.839 MB / 0.6152 GB, free: 16.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.5529, allocations: 179.9 kB / 0.6154 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.5532, allocations: 12.94 kB / 0.6154 GB, free: 16.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/0.554, allocations: 103.9 kB / 0.6155 GB, free: 16.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005089/0.5545, allocations: 144.3 kB / 0.6156 GB, free: 16.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.168e-05/0.5546, allocations: 19.98 kB / 0.6157 GB, free: 16.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000685/0.5553, allocations: 495 kB / 0.6161 GB, free: 15.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5553, allocations: 1.5 kB / 0.6161 GB, free: 15.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001267/0.5566, allocations: 303.7 kB / 0.6164 GB, free: 15.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {17 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.008801/0.5654, allocations: 4.397 MB / 0.6207 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003784/0.5693, allocations: 1.661 MB / 0.6223 GB, free: 9.391 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.5693, allocations: 4.125 kB / 0.6223 GB, free: 9.387 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.572, allocations: 1.175 MB / 0.6235 GB, free: 8.199 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.5731, allocations: 75.31 kB / 0.6236 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.5886, allocations: 7.882 MB / 0.6313 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.5894, allocations: 0.972 MB / 0.6322 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003481/0.5898, allocations: 67.16 kB / 0.6323 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/0.5903, allocations: 308.3 kB / 0.6326 GB, free: 14.71 MB / 446.1 MB Notification: Performance of SimCode: time 1.753e-06/0.5903, allocations: 0 / 0.6326 GB, free: 14.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04465/0.6349, allocations: 21.73 MB / 0.6538 GB, free: 9.32 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.6352, allocations: 193 kB / 0.654 GB, free: 9.082 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/2.923, allocations: 64 / 0.654 GB, free: 9.082 MB / 462.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/linux/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) Environment - environmentSimulation: