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.08007/0.08007, allocations: 12.59 MB / 28.22 MB, free: 1.086 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.00114/0.00114, allocations: 119.3 kB / 31.84 MB, free: 4.023 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.246/1.246, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001397/0.001397, allocations: 199.8 kB / 290.7 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3984/0.3984, allocations: 78.51 MB / 419.3 MB, free: 10.75 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.003625/0.003625, allocations: 143.8 kB / 0.5554 GB, free: 17.83 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1104, allocations: 68.12 MB / 0.6219 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006997/0.1175, allocations: 6.049 MB / 0.6278 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.1208, allocations: 1.81 MB / 0.6296 GB, free: 5.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/0.1212, allocations: 11.94 kB / 0.6296 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.1217, allocations: 210.2 kB / 0.6298 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.1233, allocations: 0.7065 MB / 0.6305 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1244, allocations: 0.5453 MB / 0.631 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.1259, allocations: 1.417 MB / 0.6324 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.1263, allocations: 283.2 kB / 0.6326 GB, free: 2.602 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.127, allocations: 0.5562 MB / 0.6332 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007657/0.1277, allocations: 0.6611 MB / 0.6338 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.1279, allocations: 100 kB / 0.6339 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.1283, allocations: 231.9 kB / 0.6342 GB, free: 1.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.1286, allocations: 262.8 kB / 0.6344 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005307/0.1291, allocations: 0.567 MB / 0.635 GB, free: 232 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.1306, allocations: 1.404 MB / 0.6363 GB, free: 14.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1306, allocations: 0 / 0.6363 GB, free: 14.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1307, allocations: 0 / 0.6363 GB, free: 14.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1307, allocations: 4 kB / 0.6363 GB, free: 14.81 MB / 462.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.006767/0.1374, allocations: 2.27 MB / 0.6385 GB, free: 12.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.1375, allocations: 15.92 kB / 0.6386 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.1377, allocations: 106.7 kB / 0.6387 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/0.141, allocations: 0.5615 MB / 0.6392 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.1423, allocations: 0.8002 MB / 0.64 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.1426, allocations: 209.8 kB / 0.6402 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.1427, allocations: 60 kB / 0.6403 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.1445, allocations: 0.8341 MB / 0.6411 GB, free: 9.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1445, allocations: 0 / 0.6411 GB, free: 9.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.1446, allocations: 31.98 kB / 0.6411 GB, free: 9.773 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.1446, allocations: 15.94 kB / 0.6411 GB, free: 9.758 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.1464, allocations: 0.8561 MB / 0.6419 GB, free: 8.902 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.00523/0.1517, allocations: 3.035 MB / 0.6449 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00611/0.1578, allocations: 1.71 MB / 0.6466 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.159, allocations: 0.5473 MB / 0.6471 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.444e-05/0.1591, allocations: 32.41 kB / 0.6471 GB, free: 3.348 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.1605, allocations: 0.6172 MB / 0.6478 GB, free: 2.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.685e-06/0.1605, allocations: 0 / 0.6478 GB, free: 2.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01846/0.179, allocations: 4.703 MB / 0.6523 GB, free: 13.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1791, allocations: 60.06 kB / 0.6524 GB, free: 13.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.1806, allocations: 0.97 MB / 0.6533 GB, free: 12.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.1807, allocations: 41.7 kB / 0.6534 GB, free: 12.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.1811, allocations: 476.8 kB / 0.6538 GB, free: 12.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.1814, allocations: 269.7 kB / 0.6541 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.1818, allocations: 182.5 kB / 0.6543 GB, free: 11.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1819, allocations: 349.9 kB / 0.6546 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.1832, allocations: 0.5524 MB / 0.6551 GB, free: 11.03 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.1845, allocations: 0.6672 MB / 0.6558 GB, free: 10.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01647/0.201, allocations: 4.042 MB / 0.6597 GB, free: 6.254 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.201, allocations: 0 / 0.6597 GB, free: 6.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008726/0.2098, allocations: 2.84 MB / 0.6625 GB, free: 3.398 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.2098, allocations: 8 kB / 0.6625 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.2098, allocations: 3.938 kB / 0.6625 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004663/0.2145, allocations: 1.262 MB / 0.6638 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008557/0.2154, allocations: 187.8 kB / 0.6639 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.2283, allocations: 5.695 MB / 0.6695 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.2297, allocations: 147.3 kB / 0.6696 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.2299, allocations: 32 kB / 0.6697 GB, free: 11.92 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.000495/0.2304, allocations: 246.6 kB / 0.6699 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.2307, allocations: 115.2 kB / 0.67 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00877/0.2395, allocations: 2.665 MB / 0.6726 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.2395, allocations: 8 kB / 0.6726 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2395, allocations: 0 / 0.6726 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.2395, allocations: 3.984 kB / 0.6726 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.2498, allocations: 4.023 MB / 0.6766 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.2498, allocations: 0 / 0.6766 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.2503, allocations: 95.83 kB / 0.6767 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004876/0.2551, allocations: 1.321 MB / 0.6779 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.329e-05/0.2552, allocations: 12 kB / 0.678 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2148/0.47, allocations: 6.01 MB / 0.6838 GB, free: 53.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.47, allocations: 0.7812 kB / 0.6838 GB, free: 53.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.4802, allocations: 3.381 MB / 0.6871 GB, free: 53.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.4806, allocations: 204.4 kB / 0.6873 GB, free: 53.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.4807, allocations: 11.56 kB / 0.6873 GB, free: 53.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009143/0.4816, allocations: 90.23 kB / 0.6874 GB, free: 53.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005075/0.4821, allocations: 158.6 kB / 0.6876 GB, free: 53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.296e-05/0.4822, allocations: 18.94 kB / 0.6876 GB, free: 53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001042/0.4833, allocations: 0.656 MB / 0.6882 GB, free: 52.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4833, allocations: 1.75 kB / 0.6882 GB, free: 52.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001049/0.4843, allocations: 351.3 kB / 0.6886 GB, free: 52.68 MB / 494.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.01026/0.4946, allocations: 3.951 MB / 0.6924 GB, free: 51.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004665/0.4993, allocations: 1.874 MB / 0.6943 GB, free: 50.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4993, allocations: 3.188 kB / 0.6943 GB, free: 50.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003115/0.5024, allocations: 1.223 MB / 0.6955 GB, free: 49.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.5032, allocations: 95.97 kB / 0.6955 GB, free: 49.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/0.5265, allocations: 12.01 MB / 0.7073 GB, free: 44.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.5269, allocations: 1.046 MB / 0.7083 GB, free: 44.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002907/0.5272, allocations: 98.47 kB / 0.7084 GB, free: 44.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.5276, allocations: 403.7 kB / 0.7088 GB, free: 43.93 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5276, allocations: 0 / 0.7088 GB, free: 43.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05094/0.5785, allocations: 28.22 MB / 0.7363 GB, free: 18.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/15.17, allocations: 10.38 kB / 0.7363 GB, free: 18.54 MB / 494.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)