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.001531/0.001531, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 222.9 MB / 239.3 MB, free: 4.609 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.001263/0.001263, allocations: 192.5 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4501/0.4501, allocations: 78.54 MB / 418.2 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 79.86 kB / 497.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1257, allocations: 68.17 MB / 0.5525 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2152/0.3409, allocations: 6.014 MB / 0.5583 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003633/0.3446, allocations: 1.836 MB / 0.5601 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009559/0.3456, allocations: 13.72 kB / 0.5601 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008584/0.3464, allocations: 207.3 kB / 0.5603 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.3485, allocations: 0.7072 MB / 0.561 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.3497, allocations: 0.5431 MB / 0.5616 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.3513, allocations: 1.405 MB / 0.5629 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.3518, allocations: 289.4 kB / 0.5632 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.3525, allocations: 0.5618 MB / 0.5638 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006452/0.3532, allocations: 0.6508 MB / 0.5644 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.3534, allocations: 96.31 kB / 0.5645 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004435/0.3538, allocations: 235.2 kB / 0.5647 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.354, allocations: 268.6 kB / 0.565 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004188/0.3544, allocations: 0.5627 MB / 0.5655 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3556, allocations: 1.383 MB / 0.5669 GB, free: 34.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3556, allocations: 0 / 0.5669 GB, free: 34.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3557, allocations: 0 / 0.5669 GB, free: 34.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.3557, allocations: 0 / 0.5669 GB, free: 34.58 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.00684/0.3625, allocations: 2.232 MB / 0.569 GB, free: 33.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3626, allocations: 11.34 kB / 0.5691 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.3627, allocations: 110.4 kB / 0.5692 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003338/0.3661, allocations: 0.5603 MB / 0.5697 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.3674, allocations: 0.7859 MB / 0.5705 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.3677, allocations: 211.9 kB / 0.5707 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.3678, allocations: 60.78 kB / 0.5707 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.3694, allocations: 0.8345 MB / 0.5715 GB, free: 33.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.3695, allocations: 0.7188 kB / 0.5715 GB, free: 33.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.121e-05/0.3695, allocations: 25.28 kB / 0.5716 GB, free: 33.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.3696, allocations: 19.81 kB / 0.5716 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.3713, allocations: 0.8492 MB / 0.5724 GB, free: 33 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.005053/0.3763, allocations: 3.051 MB / 0.5754 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005835/0.3822, allocations: 1.71 MB / 0.5771 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.3834, allocations: 0.5476 MB / 0.5776 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.154e-05/0.3834, allocations: 12.34 kB / 0.5776 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.3846, allocations: 0.6117 MB / 0.5782 GB, free: 31.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.076e-06/0.3846, allocations: 0 / 0.5782 GB, free: 31.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01785/0.4024, allocations: 4.705 MB / 0.5828 GB, free: 30.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.4025, allocations: 60.09 kB / 0.5829 GB, free: 30.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.404, allocations: 0.9711 MB / 0.5838 GB, free: 29.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.4041, allocations: 37.17 kB / 0.5838 GB, free: 29.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.4044, allocations: 470.5 kB / 0.5843 GB, free: 29.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.4046, allocations: 268.2 kB / 0.5846 GB, free: 29.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/0.405, allocations: 178.7 kB / 0.5847 GB, free: 28.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.405, allocations: 348.5 kB / 0.5851 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.4062, allocations: 0.5559 MB / 0.5856 GB, free: 28.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.4074, allocations: 0.6681 MB / 0.5863 GB, free: 28.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/0.4247, allocations: 4.047 MB / 0.5902 GB, free: 27.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.4247, allocations: 0 / 0.5902 GB, free: 27.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009028/0.4338, allocations: 2.833 MB / 0.593 GB, free: 26.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4338, allocations: 5.188 kB / 0.593 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.4339, allocations: 4.078 kB / 0.593 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004898/0.4388, allocations: 1.271 MB / 0.5942 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.4398, allocations: 189.2 kB / 0.5944 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.4526, allocations: 5.675 MB / 0.5999 GB, free: 22.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.4541, allocations: 149 kB / 0.6001 GB, free: 22.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.4543, allocations: 36.2 kB / 0.6001 GB, free: 22.86 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.0005301/0.4549, allocations: 245 kB / 0.6004 GB, free: 22.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.4552, allocations: 116 kB / 0.6005 GB, free: 22.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009096/0.4643, allocations: 2.656 MB / 0.6031 GB, free: 21.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.4643, allocations: 8.031 kB / 0.6031 GB, free: 21.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4644, allocations: 0 / 0.6031 GB, free: 21.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.4644, allocations: 5.438 kB / 0.6031 GB, free: 21.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.4757, allocations: 4.025 MB / 0.607 GB, free: 20.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.4757, allocations: 4.906 kB / 0.607 GB, free: 20.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.4763, allocations: 91 kB / 0.6071 GB, free: 20.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004957/0.4813, allocations: 1.319 MB / 0.6084 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/0.4814, allocations: 20.33 kB / 0.6084 GB, free: 19.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/0.4944, allocations: 6.015 MB / 0.6143 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4945, allocations: 0 / 0.6143 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009639/0.5041, allocations: 3.376 MB / 0.6176 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.5045, allocations: 199.7 kB / 0.6178 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/0.5049, allocations: 14.06 kB / 0.6178 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.506, allocations: 87.91 kB / 0.6179 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000482/0.5065, allocations: 156.4 kB / 0.618 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/0.5066, allocations: 20.94 kB / 0.618 GB, free: 11.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.5076, allocations: 0.6592 MB / 0.6187 GB, free: 10.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5076, allocations: 0 / 0.6187 GB, free: 10.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001232/0.5089, allocations: 347.7 kB / 0.619 GB, free: 10.43 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.009469/0.5183, allocations: 3.947 MB / 0.6229 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004873/0.5233, allocations: 1.902 MB / 0.6247 GB, free: 4.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5233, allocations: 0 / 0.6247 GB, free: 4.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00316/0.5265, allocations: 1.206 MB / 0.6259 GB, free: 3.273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009912/0.5275, allocations: 102.6 kB / 0.626 GB, free: 3.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02794/0.5554, allocations: 12.54 MB / 0.6382 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/0.5562, allocations: 1.042 MB / 0.6393 GB, free: 5.207 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004981/0.5567, allocations: 100.4 kB / 0.6393 GB, free: 5.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.5573, allocations: 403.3 kB / 0.6397 GB, free: 4.715 MB / 446.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5573, allocations: 0 / 0.6397 GB, free: 4.715 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05681/0.6141, allocations: 27.87 MB / 0.667 GB, free: 9.164 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.53, allocations: 2.109 kB / 0.667 GB, free: 9.164 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)