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.001062/0.001062, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.403/1.403, allocations: 223.2 MB / 238.9 MB, free: 5.672 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.001239/0.001239, allocations: 189 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5115/0.5115, allocations: 79.46 MB / 420.7 MB, free: 3.957 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004369, allocations: 16 kB / 0.4891 GB, free: 5.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3918, allocations: 69.5 MB / 0.557 GB, free: 37.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004258/0.3961, allocations: 4.566 MB / 0.5614 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.3989, allocations: 1.407 MB / 0.5628 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.3993, allocations: 7.844 kB / 0.5628 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.3997, allocations: 127.7 kB / 0.5629 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007194/0.4004, allocations: 329.7 kB / 0.5632 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.4015, allocations: 0.5244 MB / 0.5637 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007918/0.4023, allocations: 0.6918 MB / 0.5644 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.4026, allocations: 187.6 kB / 0.5646 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.4029, allocations: 372.1 kB / 0.565 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.4034, allocations: 470.9 kB / 0.5654 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.309e-05/0.4035, allocations: 37.19 kB / 0.5654 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.4037, allocations: 93.03 kB / 0.5655 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.4039, allocations: 154.7 kB / 0.5657 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.404, allocations: 178 kB / 0.5658 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.4046, allocations: 0.763 MB / 0.5666 GB, free: 36.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.4046, allocations: 1.25 kB / 0.5666 GB, free: 36.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4046, allocations: 0 / 0.5666 GB, free: 36.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.4047, allocations: 0 / 0.5666 GB, free: 36.75 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.004291/0.409, allocations: 1.644 MB / 0.5682 GB, free: 36.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.409, allocations: 13.62 kB / 0.5682 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.4091, allocations: 99.2 kB / 0.5683 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/0.4116, allocations: 447.9 kB / 0.5687 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009015/0.4126, allocations: 0.6022 MB / 0.5693 GB, free: 35.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.4128, allocations: 205.5 kB / 0.5695 GB, free: 35.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/0.4129, allocations: 53.06 kB / 0.5696 GB, free: 35.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.4144, allocations: 0.8156 MB / 0.5704 GB, free: 35.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4144, allocations: 1.125 kB / 0.5704 GB, free: 35.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/0.4145, allocations: 21.62 kB / 0.5704 GB, free: 35.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.4145, allocations: 14.52 kB / 0.5704 GB, free: 35.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.416, allocations: 0.7597 MB / 0.5711 GB, free: 35.39 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004232/0.4202, allocations: 3.043 MB / 0.5741 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.4216, allocations: 1.086 MB / 0.5752 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.919e-05/0.4217, allocations: 6.469 kB / 0.5752 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.4228, allocations: 0.6402 MB / 0.5758 GB, free: 32.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.066e-06/0.4228, allocations: 4 kB / 0.5758 GB, free: 32.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01847/0.4413, allocations: 5.586 MB / 0.5813 GB, free: 31.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.4414, allocations: 91.53 kB / 0.5813 GB, free: 31.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009412/0.4423, allocations: 0.7041 MB / 0.582 GB, free: 31.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.4425, allocations: 41.75 kB / 0.5821 GB, free: 31.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.4427, allocations: 377.2 kB / 0.5824 GB, free: 30.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.4429, allocations: 233.8 kB / 0.5827 GB, free: 30.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.4429, allocations: 10.47 kB / 0.5827 GB, free: 30.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.443, allocations: 330.4 kB / 0.583 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009315/0.4439, allocations: 454.8 kB / 0.5834 GB, free: 30.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000951/0.4449, allocations: 0.5507 MB / 0.584 GB, free: 30 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009318/0.4458, allocations: 478.5 kB / 0.5844 GB, free: 29.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4458, allocations: 1.438 kB / 0.5844 GB, free: 29.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008986/0.4548, allocations: 3.15 MB / 0.5875 GB, free: 29.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.4549, allocations: 6.094 kB / 0.5875 GB, free: 29.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4549, allocations: 3.312 kB / 0.5875 GB, free: 29.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004181/0.4591, allocations: 1.28 MB / 0.5887 GB, free: 28.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.4596, allocations: 95.7 kB / 0.5888 GB, free: 28.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/0.4751, allocations: 7.214 MB / 0.5959 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.4762, allocations: 138.6 kB / 0.596 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.4763, allocations: 30.77 kB / 0.596 GB, free: 25.52 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.0004252/0.4767, allocations: 196.8 kB / 0.5962 GB, free: 25.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.4769, allocations: 94.02 kB / 0.5963 GB, free: 25.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009754/0.4867, allocations: 3.192 MB / 0.5994 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.4868, allocations: 6.844 kB / 0.5994 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4868, allocations: 3.062 kB / 0.5995 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/0.4868, allocations: 4.641 kB / 0.5995 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.4991, allocations: 4.399 MB / 0.6038 GB, free: 23.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.4992, allocations: 1.031 kB / 0.6038 GB, free: 23.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.4997, allocations: 87.2 kB / 0.6038 GB, free: 23.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004136/0.5038, allocations: 1.262 MB / 0.6051 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.787e-05/0.5039, allocations: 17.42 kB / 0.6051 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.5182, allocations: 6.334 MB / 0.6113 GB, free: 19.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.5182, allocations: 1.406 kB / 0.6113 GB, free: 19.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.5288, allocations: 3.845 MB / 0.615 GB, free: 16.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.5293, allocations: 182.8 kB / 0.6152 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/0.5296, allocations: 12 kB / 0.6152 GB, free: 16.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5306, allocations: 103.2 kB / 0.6153 GB, free: 16.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/0.5312, allocations: 151.4 kB / 0.6155 GB, free: 16.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.5313, allocations: 19.98 kB / 0.6155 GB, free: 16.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006528/0.5319, allocations: 499 kB / 0.6159 GB, free: 15.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5319, allocations: 0 / 0.6159 GB, free: 15.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001167/0.5331, allocations: 299.6 kB / 0.6162 GB, free: 15.54 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.009611/0.5427, allocations: 4.476 MB / 0.6206 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003915/0.5467, allocations: 1.664 MB / 0.6222 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5467, allocations: 0 / 0.6222 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002933/0.5497, allocations: 1.169 MB / 0.6234 GB, free: 8.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.5503, allocations: 72.11 kB / 0.6234 GB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.5669, allocations: 9.66 MB / 0.6329 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008534/0.5678, allocations: 0.9942 MB / 0.6338 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003356/0.5682, allocations: 66.88 kB / 0.6339 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/0.5687, allocations: 311.3 kB / 0.6342 GB, free: 12.87 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5687, allocations: 0 / 0.6342 GB, free: 12.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.6137, allocations: 21.7 MB / 0.6554 GB, free: 7.512 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.6139, allocations: 183.4 kB / 0.6556 GB, free: 7.273 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.817, allocations: 4 kB / 0.6556 GB, free: 7.27 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: