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.001355/0.00136, 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.33/1.33, allocations: 222.9 MB / 239.3 MB, free: 4.625 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.001217/0.001217, allocations: 196.5 kB / 289.6 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4974/0.4974, allocations: 91.9 MB / 431.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 79.88 kB / 0.502 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3246, allocations: 71.26 MB / 0.5716 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005254/0.3299, allocations: 6.025 MB / 0.5775 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.3328, allocations: 1.846 MB / 0.5793 GB, free: 32.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004284/0.3332, allocations: 16.56 kB / 0.5793 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.3338, allocations: 210.1 kB / 0.5795 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.3351, allocations: 0.7067 MB / 0.5802 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009436/0.3361, allocations: 0.5441 MB / 0.5807 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009789/0.3371, allocations: 1.412 MB / 0.5821 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.3374, allocations: 281 kB / 0.5823 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005313/0.3379, allocations: 0.5593 MB / 0.5829 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.3385, allocations: 0.653 MB / 0.5835 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.3386, allocations: 98.97 kB / 0.5836 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000372/0.339, allocations: 234.8 kB / 0.5838 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.3392, allocations: 270.3 kB / 0.5841 GB, free: 29.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.3396, allocations: 0.5614 MB / 0.5846 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009921/0.3406, allocations: 1.375 MB / 0.586 GB, free: 28.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3406, allocations: 0 / 0.586 GB, free: 28.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3406, allocations: 2.938 kB / 0.586 GB, free: 28.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.3406, allocations: 2 kB / 0.586 GB, free: 28.74 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.006918/0.3475, allocations: 2.23 MB / 0.5882 GB, free: 27.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3476, allocations: 9.125 kB / 0.5882 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.3477, allocations: 118.4 kB / 0.5883 GB, free: 27.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/0.351, allocations: 0.5554 MB / 0.5888 GB, free: 27.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.3522, allocations: 0.7853 MB / 0.5896 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.3525, allocations: 213.8 kB / 0.5898 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.3526, allocations: 62.31 kB / 0.5899 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.3542, allocations: 0.832 MB / 0.5907 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3542, allocations: 0 / 0.5907 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.933e-05/0.3543, allocations: 29.28 kB / 0.5907 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.3543, allocations: 23.91 kB / 0.5907 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.3561, allocations: 0.8486 MB / 0.5916 GB, free: 26.08 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.004908/0.361, allocations: 3.051 MB / 0.5945 GB, free: 24.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006235/0.3673, allocations: 1.704 MB / 0.5962 GB, free: 23.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.3685, allocations: 0.5479 MB / 0.5967 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.38e-05/0.3686, allocations: 20.12 kB / 0.5968 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.3699, allocations: 0.6135 MB / 0.5974 GB, free: 23.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/0.3699, allocations: 0 / 0.5974 GB, free: 23.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01952/0.3895, allocations: 4.705 MB / 0.6019 GB, free: 22.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.3895, allocations: 62.12 kB / 0.602 GB, free: 21.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.3911, allocations: 0.9681 MB / 0.603 GB, free: 21.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.3913, allocations: 36.45 kB / 0.603 GB, free: 21.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.3916, allocations: 473.4 kB / 0.6034 GB, free: 21.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/0.3918, allocations: 263.5 kB / 0.6037 GB, free: 20.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.3922, allocations: 178.3 kB / 0.6039 GB, free: 20.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.3923, allocations: 351 kB / 0.6042 GB, free: 20.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.3935, allocations: 0.5493 MB / 0.6047 GB, free: 20.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.3947, allocations: 0.6713 MB / 0.6054 GB, free: 19.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/0.412, allocations: 4.048 MB / 0.6093 GB, free: 18.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.412, allocations: 0 / 0.6093 GB, free: 18.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009277/0.4213, allocations: 2.836 MB / 0.6121 GB, free: 18.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.4213, allocations: 6.281 kB / 0.6121 GB, free: 18.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4214, allocations: 5.984 kB / 0.6121 GB, free: 18.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004934/0.4263, allocations: 1.27 MB / 0.6134 GB, free: 17.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4274, allocations: 189.9 kB / 0.6135 GB, free: 17.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.4392, allocations: 5.684 MB / 0.6191 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.4407, allocations: 155 kB / 0.6192 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.4407, allocations: 39.98 kB / 0.6193 GB, free: 13.17 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.0003997/0.4412, allocations: 233.6 kB / 0.6195 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.4413, allocations: 110.6 kB / 0.6196 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008071/0.4494, allocations: 2.649 MB / 0.6222 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.4494, allocations: 8 kB / 0.6222 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4494, allocations: 0 / 0.6222 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.4494, allocations: 11.98 kB / 0.6222 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00921/0.4587, allocations: 4.021 MB / 0.6261 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.4587, allocations: 3.938 kB / 0.6261 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.4592, allocations: 95.81 kB / 0.6262 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004602/0.4638, allocations: 1.315 MB / 0.6275 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.937e-05/0.4639, allocations: 19.98 kB / 0.6275 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.476, allocations: 6.017 MB / 0.6334 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.476, allocations: 0 / 0.6334 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.4863, allocations: 3.375 MB / 0.6367 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.4868, allocations: 199.7 kB / 0.6369 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.487, allocations: 15.98 kB / 0.6369 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/0.4879, allocations: 83.91 kB / 0.637 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004773/0.4884, allocations: 160.4 kB / 0.6371 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.4885, allocations: 16 kB / 0.6372 GB, free: 10.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001004/0.4895, allocations: 0.6631 MB / 0.6378 GB, free: 9.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4895, allocations: 0 / 0.6378 GB, free: 9.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001128/0.4906, allocations: 347.7 kB / 0.6381 GB, free: 9.504 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.01048/0.5011, allocations: 3.95 MB / 0.642 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005175/0.5063, allocations: 1.894 MB / 0.6439 GB, free: 3.582 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5064, allocations: 0 / 0.6439 GB, free: 3.582 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003361/0.5097, allocations: 1.215 MB / 0.645 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008931/0.5106, allocations: 104.9 kB / 0.6451 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0289/0.5396, allocations: 12.53 MB / 0.6574 GB, free: 5.328 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/0.5403, allocations: 1.046 MB / 0.6584 GB, free: 4.254 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000515/0.5408, allocations: 98.67 kB / 0.6585 GB, free: 4.152 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/0.5414, allocations: 399.3 kB / 0.6589 GB, free: 3.762 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5414, allocations: 0 / 0.6589 GB, free: 3.762 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06049/0.6019, allocations: 27.86 MB / 0.6861 GB, free: 8.027 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.19, allocations: 9.688 kB / 0.6861 GB, free: 8.02 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)