Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_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.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_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.0009558/0.0009558, allocations: 91.77 kB / 15.36 MB, free: 0.7344 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.405/1.405, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.001221/0.001221, allocations: 164.6 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5537/0.5537, allocations: 91.93 MB / 433.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.000399, allocations: 8.328 kB / 0.5049 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4203, allocations: 72.46 MB / 0.5756 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005163/0.4256, allocations: 5.894 MB / 0.5814 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.4294, allocations: 1.862 MB / 0.5832 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007664/0.4302, allocations: 16.06 kB / 0.5832 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006953/0.4309, allocations: 160 kB / 0.5834 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.4328, allocations: 0.6311 MB / 0.584 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.434, allocations: 0.4985 MB / 0.5845 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.4354, allocations: 1.344 MB / 0.5858 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.4358, allocations: 255.5 kB / 0.586 GB, free: 30 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005849/0.4364, allocations: 496.7 kB / 0.5865 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005699/0.437, allocations: 0.5988 MB / 0.5871 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-05/0.4371, allocations: 49.88 kB / 0.5871 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.4375, allocations: 185.6 kB / 0.5873 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.4377, allocations: 207 kB / 0.5875 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.4381, allocations: 0.5338 MB / 0.588 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.4392, allocations: 1.31 MB / 0.5893 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4393, allocations: 4 kB / 0.5893 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4393, allocations: 0 / 0.5893 GB, free: 28.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4393, allocations: 0 / 0.5893 GB, free: 28.48 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.006993/0.4463, allocations: 2.072 MB / 0.5913 GB, free: 27.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.4464, allocations: 13.94 kB / 0.5914 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/0.4466, allocations: 111.9 kB / 0.5915 GB, free: 27.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/0.4501, allocations: 0.5578 MB / 0.592 GB, free: 27.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.4515, allocations: 0.7787 MB / 0.5928 GB, free: 26.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.4518, allocations: 221.9 kB / 0.593 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.452, allocations: 66.38 kB / 0.593 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.4538, allocations: 0.882 MB / 0.5939 GB, free: 26.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.4539, allocations: 0 / 0.5939 GB, free: 26.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.454, allocations: 25.47 kB / 0.5939 GB, free: 26.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.454, allocations: 19.31 kB / 0.5939 GB, free: 26.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.456, allocations: 0.9128 MB / 0.5948 GB, free: 25.95 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.005656/0.4616, allocations: 3.1 MB / 0.5979 GB, free: 24.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006886/0.4685, allocations: 1.976 MB / 0.5998 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.47, allocations: 0.5987 MB / 0.6004 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.114e-05/0.4702, allocations: 17.23 kB / 0.6004 GB, free: 23.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.4717, allocations: 0.6687 MB / 0.601 GB, free: 22.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.637e-06/0.4717, allocations: 0 / 0.601 GB, free: 22.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.02214/0.4938, allocations: 5.615 MB / 0.6065 GB, free: 21.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.4939, allocations: 63.92 kB / 0.6066 GB, free: 21.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/0.4964, allocations: 0.9646 MB / 0.6075 GB, free: 21.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.4966, allocations: 36.86 kB / 0.6076 GB, free: 21.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.4971, allocations: 465.3 kB / 0.608 GB, free: 20.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000427/0.4975, allocations: 271.4 kB / 0.6083 GB, free: 20.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.4978, allocations: 93.69 kB / 0.6084 GB, free: 20.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.498, allocations: 345.3 kB / 0.6087 GB, free: 20.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.4995, allocations: 0.6021 MB / 0.6093 GB, free: 20.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.5011, allocations: 0.7178 MB / 0.61 GB, free: 19.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01975/0.5209, allocations: 4.444 MB / 0.6143 GB, free: 18.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.521, allocations: 5.188 kB / 0.6143 GB, free: 18.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01119/0.5321, allocations: 3.34 MB / 0.6176 GB, free: 17.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.5322, allocations: 6.312 kB / 0.6176 GB, free: 17.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.5323, allocations: 2.188 kB / 0.6176 GB, free: 17.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005338/0.5376, allocations: 1.486 MB / 0.619 GB, free: 16.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.5387, allocations: 187.8 kB / 0.6192 GB, free: 16.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.5505, allocations: 5.733 MB / 0.6248 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.5523, allocations: 183 kB / 0.625 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/0.5526, allocations: 39.97 kB / 0.625 GB, free: 10.52 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(flow=false start = Gen1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (103): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(14,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006938/0.5533, allocations: 233.7 kB / 0.6253 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003771/0.5537, allocations: 118.5 kB / 0.6254 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009377/0.5631, allocations: 3.161 MB / 0.6285 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.5631, allocations: 8 kB / 0.6285 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.5632, allocations: 4 kB / 0.6285 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.5632, allocations: 3.984 kB / 0.6285 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.5751, allocations: 4.525 MB / 0.6329 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.5752, allocations: 0 / 0.6329 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.5758, allocations: 99.89 kB / 0.633 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005208/0.581, allocations: 1.534 MB / 0.6345 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.5812, allocations: 19.94 kB / 0.6345 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/0.5951, allocations: 5.893 MB / 0.6403 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5951, allocations: 0 / 0.6403 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/0.6067, allocations: 3.926 MB / 0.6441 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/0.6072, allocations: 199.7 kB / 0.6443 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/0.6076, allocations: 19.98 kB / 0.6443 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.6088, allocations: 107.9 kB / 0.6444 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/0.6093, allocations: 160.3 kB / 0.6446 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.6094, allocations: 23.92 kB / 0.6446 GB, free: 6.168 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001157/0.6106, allocations: 0.663 MB / 0.6452 GB, free: 5.496 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6106, allocations: 0 / 0.6452 GB, free: 5.496 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001347/0.612, allocations: 351.8 kB / 0.6456 GB, free: 5.152 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tCSC.PIcontroller.x_scaled[1],tCSC.X1.state,Gen1.delta,Gen1.w) * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(15,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01181/0.6238, allocations: 4.493 MB / 0.65 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00561/0.6294, allocations: 2.047 MB / 0.652 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6295, allocations: 0 / 0.652 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003855/0.6333, allocations: 1.344 MB / 0.6533 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.6347, allocations: 92.41 kB / 0.6534 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03307/0.6678, allocations: 13.96 MB / 0.667 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/0.6686, allocations: 1.053 MB / 0.668 GB, free: 13.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005532/0.6692, allocations: 94.69 kB / 0.6681 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/0.6698, allocations: 395.3 kB / 0.6685 GB, free: 13.17 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6698, allocations: 0 / 0.6685 GB, free: 13.17 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0528/0.7226, allocations: 25.46 MB / 0.6933 GB, free: 3.891 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.7229, allocations: 207.4 kB / 0.6935 GB, free: 3.637 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/3.229, allocations: 0 / 0.6935 GB, free: 3.637 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)