Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TCSC_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_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.001445/0.001445, allocations: 100.2 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.335/1.335, allocations: 223.2 MB / 238.9 MB, free: 5.656 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.001082/0.001082, allocations: 177 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4671/0.4671, allocations: 78.52 MB / 419.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 12 kB / 499.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 69.36 MB / 0.5558 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2199/0.3551, allocations: 5.241 MB / 0.5609 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003472/0.3587, allocations: 1.815 MB / 0.5627 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007797/0.3595, allocations: 11.44 kB / 0.5627 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006514/0.3601, allocations: 153.4 kB / 0.5628 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.3617, allocations: 0.6392 MB / 0.5634 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3628, allocations: 448.4 kB / 0.5639 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.3641, allocations: 0.8858 MB / 0.5647 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.3644, allocations: 224.5 kB / 0.5649 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006401/0.3651, allocations: 0.5011 MB / 0.5654 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005487/0.3656, allocations: 0.5614 MB / 0.566 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.923e-05/0.3657, allocations: 52.78 kB / 0.566 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.3661, allocations: 158.7 kB / 0.5662 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.3663, allocations: 201 kB / 0.5664 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.3665, allocations: 207.5 kB / 0.5666 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000871/0.3674, allocations: 0.9829 MB / 0.5675 GB, free: 36.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.3674, allocations: 0 / 0.5675 GB, free: 36.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3674, allocations: 3.062 kB / 0.5675 GB, free: 36.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3674, allocations: 1.906 kB / 0.5675 GB, free: 36.61 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.006459/0.3739, allocations: 2.09 MB / 0.5696 GB, free: 35.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3739, allocations: 11.34 kB / 0.5696 GB, free: 35.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002573/0.3742, allocations: 114 kB / 0.5697 GB, free: 35.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/0.3776, allocations: 0.5557 MB / 0.5702 GB, free: 35.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.379, allocations: 0.742 MB / 0.571 GB, free: 35.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.3793, allocations: 220 kB / 0.5712 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.3794, allocations: 65.75 kB / 0.5712 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.3811, allocations: 0.8743 MB / 0.5721 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.3811, allocations: 0 / 0.5721 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/0.3812, allocations: 32.77 kB / 0.5721 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.3812, allocations: 14.12 kB / 0.5721 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.3831, allocations: 0.9086 MB / 0.573 GB, free: 35.14 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.005613/0.3887, allocations: 3.303 MB / 0.5762 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0064/0.3951, allocations: 1.969 MB / 0.5782 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.3953, allocations: 17.05 kB / 0.5782 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/0.3966, allocations: 0.6548 MB / 0.5788 GB, free: 32.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.717e-06/0.3966, allocations: 0 / 0.5788 GB, free: 32.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.0195/0.4161, allocations: 5.582 MB / 0.5843 GB, free: 30.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.4162, allocations: 64.16 kB / 0.5843 GB, free: 30.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.4179, allocations: 0.9652 MB / 0.5853 GB, free: 30.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002224/0.4181, allocations: 40.11 kB / 0.5853 GB, free: 30.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.4184, allocations: 469.8 kB / 0.5858 GB, free: 30.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.4188, allocations: 262 kB / 0.586 GB, free: 29.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.4188, allocations: 20.78 kB / 0.586 GB, free: 29.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.4189, allocations: 351.1 kB / 0.5864 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.4203, allocations: 0.6021 MB / 0.587 GB, free: 29.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.4216, allocations: 0.7079 MB / 0.5877 GB, free: 29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.4229, allocations: 0.6407 MB / 0.5883 GB, free: 28.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4229, allocations: 1.594 kB / 0.5883 GB, free: 28.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009409/0.4324, allocations: 3.323 MB / 0.5915 GB, free: 27.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.4324, allocations: 5.062 kB / 0.5915 GB, free: 27.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4324, allocations: 4.406 kB / 0.5915 GB, free: 27.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005242/0.4377, allocations: 1.479 MB / 0.593 GB, free: 27.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.4388, allocations: 197.1 kB / 0.5932 GB, free: 27.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.4517, allocations: 5.971 MB / 0.599 GB, free: 24.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.4533, allocations: 179.7 kB / 0.5992 GB, free: 24.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.4534, allocations: 36.44 kB / 0.5992 GB, free: 24.61 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005102/0.4539, allocations: 239.4 kB / 0.5994 GB, free: 24.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.4541, allocations: 111.4 kB / 0.5995 GB, free: 24.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009803/0.4639, allocations: 3.159 MB / 0.6026 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.464, allocations: 7.594 kB / 0.6026 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.464, allocations: 5.703 kB / 0.6026 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.464, allocations: 3.797 kB / 0.6026 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.4758, allocations: 4.522 MB / 0.6071 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.4758, allocations: 0 / 0.6071 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.4765, allocations: 99.98 kB / 0.6071 GB, free: 21.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005463/0.4819, allocations: 1.535 MB / 0.6086 GB, free: 21.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.4821, allocations: 13.36 kB / 0.6087 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/0.4949, allocations: 6.15 MB / 0.6147 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4949, allocations: 5.906 kB / 0.6147 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00962/0.5045, allocations: 3.919 MB / 0.6185 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.505, allocations: 203.7 kB / 0.6187 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.5052, allocations: 12 kB / 0.6187 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009441/0.5061, allocations: 111.9 kB / 0.6188 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004719/0.5066, allocations: 164.4 kB / 0.619 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.5067, allocations: 16 kB / 0.619 GB, free: 12.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008456/0.5075, allocations: 0.6552 MB / 0.6196 GB, free: 12.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5075, allocations: 0 / 0.6196 GB, free: 12.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001108/0.5086, allocations: 351.8 kB / 0.62 GB, free: 11.85 MB / 430.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.009709/0.5184, allocations: 4.484 MB / 0.6243 GB, free: 7.332 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004619/0.523, allocations: 2.033 MB / 0.6263 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.523, allocations: 0 / 0.6263 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003207/0.5262, allocations: 1.345 MB / 0.6276 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.5271, allocations: 81.06 kB / 0.6277 GB, free: 3.812 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.5309, allocations: 3.911 MB / 0.6315 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.5315, allocations: 1.067 MB / 0.6326 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003741/0.5319, allocations: 100.4 kB / 0.6327 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/0.5324, allocations: 395.3 kB / 0.633 GB, free: 14.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5324, allocations: 0 / 0.633 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04232/0.5747, allocations: 24.76 MB / 0.6572 GB, free: 5.855 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.5749, allocations: 198.8 kB / 0.6574 GB, free: 5.605 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.746, allocations: 0 / 0.6574 GB, free: 5.605 MB / 462.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) Environment - environmentSimulation: