Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0798/0.0798, allocations: 12.6 MB / 28.1 MB, free: 256 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 240.3 MB, free: 12.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 187.3 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4483/0.4483, allocations: 78.5 MB / 419.2 MB, free: 11.34 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002732/0.002732, allocations: 132.7 kB / 499.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2498, allocations: 68.11 MB / 0.5547 GB, free: 32.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005853/0.2557, allocations: 6.05 MB / 0.5606 GB, free: 28.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.2591, allocations: 1.816 MB / 0.5623 GB, free: 26.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006869/0.2598, allocations: 13.97 kB / 0.5624 GB, free: 26.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.2605, allocations: 210 kB / 0.5626 GB, free: 26.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.2622, allocations: 0.7083 MB / 0.5633 GB, free: 26.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2632, allocations: 0.5351 MB / 0.5638 GB, free: 25.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.2645, allocations: 1.421 MB / 0.5652 GB, free: 24.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.2649, allocations: 279.9 kB / 0.5654 GB, free: 24.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.2656, allocations: 0.5627 MB / 0.566 GB, free: 24.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006246/0.2662, allocations: 0.6487 MB / 0.5666 GB, free: 23.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.2664, allocations: 98.62 kB / 0.5667 GB, free: 23.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.2669, allocations: 237.3 kB / 0.5669 GB, free: 23.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.2671, allocations: 263.2 kB / 0.5672 GB, free: 23.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.2675, allocations: 0.5605 MB / 0.5677 GB, free: 23.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.2686, allocations: 1.376 MB / 0.5691 GB, free: 22.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2686, allocations: 1.219 kB / 0.5691 GB, free: 22.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2686, allocations: 7.938 kB / 0.5691 GB, free: 22.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.2686, allocations: 0 / 0.5691 GB, free: 22.12 MB / 398.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.006817/0.2754, allocations: 2.238 MB / 0.5713 GB, free: 20.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.2755, allocations: 12.86 kB / 0.5713 GB, free: 20.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.2756, allocations: 111.2 kB / 0.5714 GB, free: 20.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/0.2791, allocations: 0.5553 MB / 0.5719 GB, free: 20.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.2803, allocations: 0.7885 MB / 0.5727 GB, free: 19.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.2806, allocations: 209.4 kB / 0.5729 GB, free: 19.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.2807, allocations: 66.5 kB / 0.573 GB, free: 19.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.2824, allocations: 0.8323 MB / 0.5738 GB, free: 19.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2824, allocations: 1.25 kB / 0.5738 GB, free: 19.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/0.2825, allocations: 24.19 kB / 0.5738 GB, free: 18.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.2825, allocations: 19.47 kB / 0.5738 GB, free: 18.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.2843, allocations: 0.8518 MB / 0.5747 GB, free: 18.58 MB / 398.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.004824/0.2891, allocations: 3.053 MB / 0.5776 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005922/0.2951, allocations: 1.708 MB / 0.5793 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.2961, allocations: 0.5459 MB / 0.5798 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.899e-05/0.2962, allocations: 12.59 kB / 0.5798 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.2973, allocations: 0.6249 MB / 0.5805 GB, free: 12.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=74): time 2.755e-06/0.2973, allocations: 0 / 0.5805 GB, free: 12.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.01782/0.3152, allocations: 4.702 MB / 0.585 GB, free: 7.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3152, allocations: 60.06 kB / 0.5851 GB, free: 7.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.3165, allocations: 0.9776 MB / 0.5861 GB, free: 6.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.3167, allocations: 37.7 kB / 0.5861 GB, free: 6.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.3169, allocations: 468.2 kB / 0.5865 GB, free: 6.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.3171, allocations: 268.2 kB / 0.5868 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/0.3174, allocations: 178.5 kB / 0.587 GB, free: 5.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.3175, allocations: 345.9 kB / 0.5873 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.3185, allocations: 0.5485 MB / 0.5878 GB, free: 5.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.3196, allocations: 0.6672 MB / 0.5885 GB, free: 4.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01559/0.3352, allocations: 4.049 MB / 0.5924 GB, free: 252 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.3353, allocations: 0 / 0.5924 GB, free: 252 kB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008767/0.3441, allocations: 2.839 MB / 0.5952 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3441, allocations: 4 kB / 0.5952 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3441, allocations: 4 kB / 0.5952 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004798/0.3489, allocations: 1.269 MB / 0.5965 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009658/0.3499, allocations: 191.7 kB / 0.5966 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/0.3627, allocations: 5.677 MB / 0.6022 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.3643, allocations: 151 kB / 0.6023 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.3645, allocations: 39.98 kB / 0.6024 GB, free: 5.914 MB / 414.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.0005675/0.365, allocations: 239.1 kB / 0.6026 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/0.3654, allocations: 110.6 kB / 0.6027 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008845/0.3742, allocations: 2.653 MB / 0.6053 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.3743, allocations: 11.98 kB / 0.6053 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3743, allocations: 0 / 0.6053 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.3743, allocations: 0 / 0.6053 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.3854, allocations: 4.025 MB / 0.6092 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.3855, allocations: 3.938 kB / 0.6092 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/0.386, allocations: 91.89 kB / 0.6093 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005172/0.3912, allocations: 1.33 MB / 0.6106 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.3914, allocations: 12 kB / 0.6106 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.4049, allocations: 6.024 MB / 0.6165 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4049, allocations: 0 / 0.6165 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/0.4152, allocations: 3.367 MB / 0.6198 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.4156, allocations: 203.7 kB / 0.62 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.4158, allocations: 12 kB / 0.62 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.4168, allocations: 87.89 kB / 0.6201 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004351/0.4173, allocations: 156.4 kB / 0.6202 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/0.4174, allocations: 24 kB / 0.6203 GB, free: 3.242 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001014/0.4184, allocations: 0.6553 MB / 0.6209 GB, free: 2.578 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4184, allocations: 0 / 0.6209 GB, free: 2.578 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001056/0.4195, allocations: 355.7 kB / 0.6212 GB, free: 2.23 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.01062/0.4301, allocations: 3.943 MB / 0.6251 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005339/0.4355, allocations: 1.906 MB / 0.627 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4355, allocations: 0 / 0.627 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003459/0.4389, allocations: 1.227 MB / 0.6282 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008796/0.4398, allocations: 99.97 kB / 0.6283 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02805/0.4679, allocations: 12.51 MB / 0.6405 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.4686, allocations: 1.046 MB / 0.6415 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.469, allocations: 94.69 kB / 0.6416 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.4696, allocations: 403.3 kB / 0.642 GB, free: 12.51 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4696, allocations: 0 / 0.642 GB, free: 12.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05785/0.5275, allocations: 27.86 MB / 0.6692 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.35, allocations: 0 / 0.6692 GB, free: 0.7031 MB / 478.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)