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.005323/0.005323, allocations: 101.2 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001438/0.001438, allocations: 196.4 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4857/0.4857, allocations: 91.9 MB / 431.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 82.34 kB / 0.5722 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1274, allocations: 71.28 MB / 0.6418 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005868/0.1333, allocations: 6.022 MB / 0.6477 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.1363, allocations: 1.837 MB / 0.6495 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.1366, allocations: 19.88 kB / 0.6495 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.1372, allocations: 214.2 kB / 0.6497 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.1385, allocations: 0.7349 MB / 0.6504 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009558/0.1395, allocations: 0.5584 MB / 0.651 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.1406, allocations: 1.421 MB / 0.6524 GB, free: 9.266 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.1409, allocations: 282.1 kB / 0.6526 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.1415, allocations: 0.564 MB / 0.6532 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006113/0.1421, allocations: 0.6494 MB / 0.6538 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.1422, allocations: 96 kB / 0.6539 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.1426, allocations: 239.9 kB / 0.6541 GB, free: 7.434 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.1428, allocations: 262.9 kB / 0.6544 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.1432, allocations: 0.5708 MB / 0.655 GB, free: 6.602 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.1443, allocations: 1.39 MB / 0.6563 GB, free: 5.207 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1444, allocations: 0 / 0.6563 GB, free: 5.207 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1444, allocations: 0 / 0.6563 GB, free: 5.207 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1444, allocations: 0 / 0.6563 GB, free: 5.207 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.00602/0.1504, allocations: 2.233 MB / 0.6585 GB, free: 2.922 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.1505, allocations: 12.03 kB / 0.6585 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.1506, allocations: 110.7 kB / 0.6586 GB, free: 2.793 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/0.1537, allocations: 0.5569 MB / 0.6592 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.1548, allocations: 0.7914 MB / 0.6599 GB, free: 1.387 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.1551, allocations: 213.8 kB / 0.6601 GB, free: 1.145 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1552, allocations: 60 kB / 0.6602 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.1567, allocations: 0.8341 MB / 0.661 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1567, allocations: 0 / 0.661 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/0.1568, allocations: 24 kB / 0.661 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1568, allocations: 19.94 kB / 0.661 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.1584, allocations: 0.8484 MB / 0.6619 GB, free: 15.36 MB / 478.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.004688/0.1631, allocations: 3.027 MB / 0.6648 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005434/0.1685, allocations: 1.72 MB / 0.6665 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009612/0.1695, allocations: 0.5459 MB / 0.667 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.911e-05/0.1696, allocations: 20.56 kB / 0.6671 GB, free: 9.805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.1707, allocations: 0.6248 MB / 0.6677 GB, free: 9.164 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 2.124e-06/0.1708, allocations: 0 / 0.6677 GB, free: 9.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.01614/0.1869, allocations: 4.691 MB / 0.6722 GB, free: 4.422 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.187, allocations: 64.05 kB / 0.6723 GB, free: 4.348 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.1883, allocations: 0.966 MB / 0.6733 GB, free: 3.363 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.686e-05/0.1883, allocations: 49.62 kB / 0.6733 GB, free: 3.309 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.1887, allocations: 468.2 kB / 0.6737 GB, free: 2.844 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.1889, allocations: 268.2 kB / 0.674 GB, free: 2.578 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003196/0.1892, allocations: 178.5 kB / 0.6742 GB, free: 2.395 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1893, allocations: 345.9 kB / 0.6745 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.1904, allocations: 0.5524 MB / 0.675 GB, free: 1.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.1915, allocations: 0.6672 MB / 0.6757 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01501/0.2066, allocations: 4.042 MB / 0.6796 GB, free: 12.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.2066, allocations: 0 / 0.6796 GB, free: 12.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007659/0.2143, allocations: 2.831 MB / 0.6824 GB, free: 9.879 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.2143, allocations: 8 kB / 0.6824 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2143, allocations: 0 / 0.6824 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004134/0.2185, allocations: 1.272 MB / 0.6837 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008273/0.2193, allocations: 187.7 kB / 0.6838 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.2305, allocations: 5.684 MB / 0.6894 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.2318, allocations: 151 kB / 0.6895 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.648e-05/0.2319, allocations: 35.98 kB / 0.6896 GB, free: 2.406 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.0004474/0.2323, allocations: 241.5 kB / 0.6898 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.2325, allocations: 114.6 kB / 0.6899 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007912/0.2404, allocations: 2.657 MB / 0.6925 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.2405, allocations: 11.92 kB / 0.6925 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2405, allocations: 4 kB / 0.6925 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.2405, allocations: 3.984 kB / 0.6925 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009612/0.2501, allocations: 4.015 MB / 0.6964 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.2501, allocations: 3.938 kB / 0.6964 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.2507, allocations: 87.89 kB / 0.6965 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004549/0.2552, allocations: 1.327 MB / 0.6978 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.837e-05/0.2553, allocations: 20 kB / 0.6978 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.2677, allocations: 5.996 MB / 0.7037 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2677, allocations: 0 / 0.7037 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009336/0.2771, allocations: 3.376 MB / 0.707 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.2774, allocations: 199.8 kB / 0.7072 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.2775, allocations: 16 kB / 0.7072 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008626/0.2784, allocations: 95.88 kB / 0.7073 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/0.2788, allocations: 152.4 kB / 0.7074 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/0.2789, allocations: 19.98 kB / 0.7075 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009309/0.2798, allocations: 0.6631 MB / 0.7081 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2798, allocations: 0 / 0.7081 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009768/0.2808, allocations: 347.7 kB / 0.7084 GB, free: 14.73 MB / 0.5137 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.009147/0.29, allocations: 3.943 MB / 0.7123 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004382/0.2944, allocations: 1.874 MB / 0.7141 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2944, allocations: 0 / 0.7141 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002972/0.2974, allocations: 1.207 MB / 0.7153 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007489/0.2981, allocations: 96.34 kB / 0.7154 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02529/0.3234, allocations: 11.98 MB / 0.7271 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.3241, allocations: 1.053 MB / 0.7281 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003523/0.3244, allocations: 94.67 kB / 0.7282 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/0.3249, allocations: 407.3 kB / 0.7286 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.3249, allocations: 0 / 0.7286 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05882/0.3837, allocations: 28.22 MB / 0.7562 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/14.6, allocations: 7.812 kB / 0.7562 GB, free: 13.66 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)