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.0008331/0.0008331, allocations: 97.64 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.162/1.162, allocations: 223.2 MB / 239.3 MB, free: 5.496 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.0008339/0.0008336, allocations: 184.5 kB / 290.6 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4036/0.4036, allocations: 78.55 MB / 420.3 MB, free: 4.227 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 12 kB / 0.4887 GB, free: 5.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 69.36 MB / 0.5565 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.1894/0.2937, allocations: 5.869 MB / 0.5622 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.2964, allocations: 1.857 MB / 0.564 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.2968, allocations: 18 kB / 0.564 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.2973, allocations: 164.5 kB / 0.5642 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.2984, allocations: 0.6205 MB / 0.5648 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.2992, allocations: 0.4998 MB / 0.5653 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000839/0.3001, allocations: 1.343 MB / 0.5666 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.3003, allocations: 253.1 kB / 0.5668 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.3007, allocations: 498.5 kB / 0.5673 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.3012, allocations: 0.5947 MB / 0.5679 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.3013, allocations: 50.31 kB / 0.5679 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.3016, allocations: 186.6 kB / 0.5681 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.3018, allocations: 207.7 kB / 0.5683 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.3021, allocations: 0.5346 MB / 0.5688 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007583/0.3028, allocations: 1.31 MB / 0.5701 GB, free: 34.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.3028, allocations: 2.031 kB / 0.5701 GB, free: 34.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3028, allocations: 0 / 0.5701 GB, free: 34.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.3029, allocations: 0 / 0.5701 GB, free: 34.02 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.005637/0.3085, allocations: 2.074 MB / 0.5722 GB, free: 33.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3085, allocations: 11.44 kB / 0.5722 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.3087, allocations: 107.8 kB / 0.5723 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.3117, allocations: 0.5619 MB / 0.5728 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.3127, allocations: 0.7781 MB / 0.5736 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.3129, allocations: 218.2 kB / 0.5738 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.313, allocations: 66.88 kB / 0.5738 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.3145, allocations: 0.8826 MB / 0.5747 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3145, allocations: 3 kB / 0.5747 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/0.3146, allocations: 24.69 kB / 0.5747 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.3146, allocations: 19.2 kB / 0.5748 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.3162, allocations: 0.92 MB / 0.5757 GB, free: 32.47 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.004313/0.3205, allocations: 3.096 MB / 0.5787 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005774/0.3263, allocations: 1.973 MB / 0.5806 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000987/0.3273, allocations: 0.6073 MB / 0.5812 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.911e-05/0.3274, allocations: 14.77 kB / 0.5812 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.3285, allocations: 0.6653 MB / 0.5819 GB, free: 30.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.425e-06/0.3285, allocations: 2.969 kB / 0.5819 GB, free: 30.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01814/0.3466, allocations: 5.61 MB / 0.5873 GB, free: 29.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.3467, allocations: 59.59 kB / 0.5874 GB, free: 29.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.348, allocations: 0.9664 MB / 0.5883 GB, free: 29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.3481, allocations: 41.48 kB / 0.5884 GB, free: 28.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.3483, allocations: 472.1 kB / 0.5888 GB, free: 28.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.3485, allocations: 264.8 kB / 0.5891 GB, free: 28.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3487, allocations: 87.77 kB / 0.5892 GB, free: 28.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.3487, allocations: 344.4 kB / 0.5895 GB, free: 28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.3499, allocations: 0.6081 MB / 0.5901 GB, free: 27.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.3511, allocations: 0.7185 MB / 0.5908 GB, free: 27.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0164/0.3675, allocations: 4.445 MB / 0.5951 GB, free: 26.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.3675, allocations: 5.594 kB / 0.5951 GB, free: 26.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009264/0.3768, allocations: 3.341 MB / 0.5984 GB, free: 25.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3768, allocations: 6.031 kB / 0.5984 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3768, allocations: 5.156 kB / 0.5984 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004898/0.3817, allocations: 1.478 MB / 0.5999 GB, free: 25.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/0.3828, allocations: 187.6 kB / 0.6 GB, free: 25.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.3948, allocations: 5.736 MB / 0.6056 GB, free: 22.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.3963, allocations: 170.9 kB / 0.6058 GB, free: 22.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.3965, allocations: 38.3 kB / 0.6058 GB, free: 22.3 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.0005207/0.397, allocations: 237.3 kB / 0.6061 GB, free: 22.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.3973, allocations: 114.9 kB / 0.6062 GB, free: 22.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009247/0.4065, allocations: 3.161 MB / 0.6093 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.4066, allocations: 7.344 kB / 0.6093 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4066, allocations: 0.6562 kB / 0.6093 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.4066, allocations: 4.781 kB / 0.6093 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.417, allocations: 4.533 MB / 0.6137 GB, free: 18.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.417, allocations: 0.6875 kB / 0.6137 GB, free: 18.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.4175, allocations: 99.83 kB / 0.6138 GB, free: 18.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004566/0.4221, allocations: 1.536 MB / 0.6153 GB, free: 17.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.56e-05/0.4222, allocations: 21.91 kB / 0.6153 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.433, allocations: 5.892 MB / 0.6211 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.433, allocations: 0 / 0.6211 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009495/0.4425, allocations: 3.926 MB / 0.6249 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.4429, allocations: 207.7 kB / 0.6251 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.443, allocations: 15.94 kB / 0.6251 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009772/0.444, allocations: 111.9 kB / 0.6252 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003999/0.4444, allocations: 156.3 kB / 0.6254 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.4445, allocations: 20 kB / 0.6254 GB, free: 6.609 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008283/0.4453, allocations: 0.6631 MB / 0.626 GB, free: 5.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.4454, allocations: 0 / 0.626 GB, free: 5.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001031/0.4464, allocations: 351.6 kB / 0.6264 GB, free: 5.594 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 (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.009481/0.4559, allocations: 4.495 MB / 0.6308 GB, free: 1.059 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00506/0.461, allocations: 2.042 MB / 0.6328 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.461, allocations: 0 / 0.6328 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00338/0.4644, allocations: 1.345 MB / 0.6341 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.4653, allocations: 93.52 kB / 0.6342 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/0.4935, allocations: 13.95 MB / 0.6478 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.494, allocations: 1.049 MB / 0.6488 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003619/0.4944, allocations: 97.92 kB / 0.6489 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/0.4949, allocations: 395.3 kB / 0.6493 GB, free: 13.65 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4949, allocations: 4 kB / 0.6493 GB, free: 13.65 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04124/0.5362, allocations: 25.46 MB / 0.6741 GB, free: 4.547 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.5364, allocations: 199.5 kB / 0.6743 GB, free: 4.289 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.589, allocations: 3.984 kB / 0.6743 GB, free: 4.285 MB / 478.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/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)