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.07738/0.07738, allocations: 12.59 MB / 28.22 MB, free: 0.7617 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 115.4 kB / 31.84 MB, free: 3.883 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.32/1.32, allocations: 205.1 MB / 240.4 MB, free: 12.35 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.001322/0.001322, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4261/0.4261, allocations: 78.51 MB / 419.3 MB, free: 11.2 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.002583/0.002583, allocations: 139.6 kB / 0.5553 GB, free: 28.8 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1082, allocations: 68.12 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006381/0.1147, allocations: 6.056 MB / 0.6278 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.1183, allocations: 1.814 MB / 0.6296 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007449/0.1191, allocations: 11.94 kB / 0.6296 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000737/0.1199, allocations: 210.2 kB / 0.6298 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.1218, allocations: 0.7533 MB / 0.6305 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1229, allocations: 0.5417 MB / 0.631 GB, free: 6.531 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.1243, allocations: 1.421 MB / 0.6324 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003813/0.1247, allocations: 283.2 kB / 0.6327 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.1253, allocations: 0.5601 MB / 0.6332 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006625/0.1259, allocations: 0.6572 MB / 0.6339 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1261, allocations: 100 kB / 0.634 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.1265, allocations: 231.9 kB / 0.6342 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.1267, allocations: 266.8 kB / 0.6344 GB, free: 3.004 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.1272, allocations: 0.567 MB / 0.635 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.1285, allocations: 1.404 MB / 0.6364 GB, free: 1.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1286, allocations: 0 / 0.6364 GB, free: 1.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1286, allocations: 0 / 0.6364 GB, free: 1.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.1286, allocations: 3.938 kB / 0.6364 GB, free: 1.02 MB / 446.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.006943/0.1355, allocations: 2.274 MB / 0.6386 GB, free: 14.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1356, allocations: 11.98 kB / 0.6386 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.1357, allocations: 114.7 kB / 0.6387 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003466/0.1392, allocations: 0.5576 MB / 0.6393 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.1405, allocations: 0.7963 MB / 0.64 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.1408, allocations: 213.8 kB / 0.6402 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.1409, allocations: 64 kB / 0.6403 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.1426, allocations: 0.8302 MB / 0.6411 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1426, allocations: 0 / 0.6411 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.1427, allocations: 28 kB / 0.6411 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1427, allocations: 15.94 kB / 0.6412 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.1446, allocations: 0.8522 MB / 0.642 GB, free: 11.11 MB / 462.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.00508/0.1497, allocations: 3.039 MB / 0.645 GB, free: 7.945 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006374/0.1561, allocations: 1.702 MB / 0.6466 GB, free: 6.145 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.1572, allocations: 0.5551 MB / 0.6472 GB, free: 5.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.092e-05/0.1573, allocations: 20.56 kB / 0.6472 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.1586, allocations: 0.6211 MB / 0.6478 GB, free: 4.934 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 3.085e-06/0.1586, allocations: 0 / 0.6478 GB, free: 4.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01855/0.1771, allocations: 4.703 MB / 0.6524 GB, free: 180 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1772, allocations: 60.06 kB / 0.6524 GB, free: 108 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.1787, allocations: 0.974 MB / 0.6534 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/0.1788, allocations: 37.7 kB / 0.6534 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.1791, allocations: 476.8 kB / 0.6539 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.1794, allocations: 273.6 kB / 0.6541 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/0.1797, allocations: 186.5 kB / 0.6543 GB, free: 14.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1799, allocations: 345.9 kB / 0.6546 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.181, allocations: 0.5485 MB / 0.6552 GB, free: 13.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.1823, allocations: 0.6672 MB / 0.6558 GB, free: 12.55 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01733/0.1997, allocations: 4.042 MB / 0.6598 GB, free: 8.469 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.1997, allocations: 0 / 0.6598 GB, free: 8.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009034/0.2088, allocations: 2.843 MB / 0.6626 GB, free: 5.609 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.2088, allocations: 8 kB / 0.6626 GB, free: 5.602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.2089, allocations: 4 kB / 0.6626 GB, free: 5.598 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004825/0.2137, allocations: 1.262 MB / 0.6638 GB, free: 4.328 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009853/0.2147, allocations: 183.8 kB / 0.664 GB, free: 4.148 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.2276, allocations: 5.695 MB / 0.6695 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.2291, allocations: 155.2 kB / 0.6697 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.2293, allocations: 35.98 kB / 0.6697 GB, free: 14.12 MB / 494.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.0006046/0.2299, allocations: 238.7 kB / 0.6699 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.2303, allocations: 119.2 kB / 0.6701 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008832/0.2391, allocations: 2.657 MB / 0.6727 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.2391, allocations: 8 kB / 0.6727 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2391, allocations: 0 / 0.6727 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.2392, allocations: 3.984 kB / 0.6727 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.2498, allocations: 4.023 MB / 0.6766 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.2499, allocations: 7.938 kB / 0.6766 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.2504, allocations: 91.83 kB / 0.6767 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005099/0.2556, allocations: 1.321 MB / 0.678 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.2557, allocations: 16 kB / 0.678 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/0.2695, allocations: 6.016 MB / 0.6839 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.2696, allocations: 7.938 kB / 0.6839 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.28, allocations: 3.377 MB / 0.6872 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/0.2805, allocations: 196.4 kB / 0.6874 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.2808, allocations: 16 kB / 0.6874 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.2819, allocations: 91.83 kB / 0.6875 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005059/0.2825, allocations: 156.4 kB / 0.6876 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.55e-05/0.2825, allocations: 20 kB / 0.6876 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001297/0.2839, allocations: 0.663 MB / 0.6883 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2839, allocations: 0 / 0.6883 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001237/0.2851, allocations: 355.7 kB / 0.6886 GB, free: 10.42 MB / 0.4981 GB 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.01088/0.296, allocations: 3.94 MB / 0.6925 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005385/0.3014, allocations: 1.886 MB / 0.6943 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3015, allocations: 0.5625 kB / 0.6943 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003786/0.3053, allocations: 1.218 MB / 0.6955 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3063, allocations: 95.8 kB / 0.6956 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/0.3348, allocations: 12.01 MB / 0.7073 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/0.3356, allocations: 1.049 MB / 0.7083 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005092/0.3362, allocations: 98.67 kB / 0.7084 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006368/0.3368, allocations: 407.2 kB / 0.7088 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.3368, allocations: 0 / 0.7088 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2971/0.6339, allocations: 28.21 MB / 0.7364 GB, free: 81.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.05, allocations: 4.188 kB / 0.7364 GB, free: 81.41 MB / 0.5137 GB (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)