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.001415/0.001415, 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.37/1.37, 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.001385/0.001385, allocations: 180.5 kB / 289.5 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.514/0.514, allocations: 91.9 MB / 431.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 71.88 kB / 0.502 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4788, allocations: 71.26 MB / 0.5716 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005871/0.4848, allocations: 6.028 MB / 0.5774 GB, free: 33.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003523/0.4883, allocations: 1.844 MB / 0.5793 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005132/0.4888, allocations: 14.59 kB / 0.5793 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.4895, allocations: 205.5 kB / 0.5795 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.491, allocations: 0.7082 MB / 0.5802 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.4921, allocations: 0.5508 MB / 0.5807 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.4931, allocations: 1.416 MB / 0.5821 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.4935, allocations: 283.5 kB / 0.5823 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.494, allocations: 0.5571 MB / 0.5829 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005774/0.4946, allocations: 0.6535 MB / 0.5835 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.4947, allocations: 96.69 kB / 0.5836 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.4951, allocations: 242 kB / 0.5838 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.4953, allocations: 259.8 kB / 0.5841 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.4957, allocations: 0.5717 MB / 0.5847 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.4968, allocations: 1.37 MB / 0.586 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4968, allocations: 0 / 0.586 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4968, allocations: 3.328 kB / 0.586 GB, free: 28.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4968, allocations: 0 / 0.586 GB, free: 28.54 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.00673/0.5036, allocations: 2.232 MB / 0.5882 GB, free: 27.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.5036, allocations: 9.719 kB / 0.5882 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.5038, allocations: 112.5 kB / 0.5883 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.5072, allocations: 0.5602 MB / 0.5888 GB, free: 27.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.5085, allocations: 0.7763 MB / 0.5896 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.5087, allocations: 214.2 kB / 0.5898 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.5088, allocations: 67.03 kB / 0.5899 GB, free: 26.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.5105, allocations: 0.8273 MB / 0.5907 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.5105, allocations: 0 / 0.5907 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.487e-05/0.5106, allocations: 29.22 kB / 0.5907 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.5106, allocations: 19.75 kB / 0.5907 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.5124, allocations: 0.8513 MB / 0.5916 GB, free: 25.89 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.005053/0.5175, allocations: 3.052 MB / 0.5945 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006019/0.5235, allocations: 1.712 MB / 0.5962 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.5247, allocations: 0.5423 MB / 0.5967 GB, free: 23.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.179e-05/0.5248, allocations: 21.48 kB / 0.5968 GB, free: 23.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/0.5262, allocations: 0.6171 MB / 0.5974 GB, free: 22.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.547e-06/0.5262, allocations: 0 / 0.5974 GB, free: 22.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.0189/0.5452, allocations: 4.704 MB / 0.602 GB, free: 21.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.5452, allocations: 59.89 kB / 0.602 GB, free: 21.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.5471, allocations: 0.9668 MB / 0.603 GB, free: 21.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.5472, allocations: 45.33 kB / 0.603 GB, free: 21.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.5475, allocations: 464.2 kB / 0.6034 GB, free: 20.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.5478, allocations: 272.4 kB / 0.6037 GB, free: 20.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/0.5482, allocations: 177.5 kB / 0.6039 GB, free: 20.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.5483, allocations: 346.8 kB / 0.6042 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.5496, allocations: 0.5499 MB / 0.6047 GB, free: 20.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.5509, allocations: 0.6711 MB / 0.6054 GB, free: 19.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01741/0.5683, allocations: 4.047 MB / 0.6093 GB, free: 18.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.5684, allocations: 1.219 kB / 0.6093 GB, free: 18.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009795/0.5782, allocations: 2.836 MB / 0.6121 GB, free: 17.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.5782, allocations: 10.05 kB / 0.6121 GB, free: 17.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.5782, allocations: 2.219 kB / 0.6121 GB, free: 17.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004981/0.5832, allocations: 1.269 MB / 0.6134 GB, free: 17.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.5843, allocations: 190.8 kB / 0.6135 GB, free: 17.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.5976, allocations: 5.68 MB / 0.6191 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.5996, allocations: 155 kB / 0.6192 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/0.5999, allocations: 35.98 kB / 0.6193 GB, free: 13.18 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.0008015/0.6007, allocations: 241.5 kB / 0.6195 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/0.6012, allocations: 110.6 kB / 0.6196 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008367/0.6095, allocations: 2.649 MB / 0.6222 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.6096, allocations: 8 kB / 0.6222 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6096, allocations: 0 / 0.6222 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.6096, allocations: 11.92 kB / 0.6222 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.6197, allocations: 4.017 MB / 0.6261 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.6197, allocations: 11.88 kB / 0.6262 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.6203, allocations: 91.88 kB / 0.6262 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004534/0.6248, allocations: 1.315 MB / 0.6275 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.122e-05/0.6249, allocations: 19.98 kB / 0.6275 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/0.637, allocations: 6.023 MB / 0.6334 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.637, allocations: 0 / 0.6334 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.6473, allocations: 3.367 MB / 0.6367 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006011/0.6479, allocations: 203.7 kB / 0.6369 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.6482, allocations: 16 kB / 0.6369 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.6494, allocations: 83.91 kB / 0.637 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005073/0.6499, allocations: 156.4 kB / 0.6372 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.289e-05/0.65, allocations: 16 kB / 0.6372 GB, free: 10.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.6511, allocations: 0.6631 MB / 0.6378 GB, free: 9.848 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6511, allocations: 4 kB / 0.6378 GB, free: 9.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00128/0.6524, 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.01025/0.6627, allocations: 3.943 MB / 0.642 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005253/0.668, allocations: 1.894 MB / 0.6438 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.668, allocations: 0 / 0.6438 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003379/0.6714, allocations: 1.212 MB / 0.645 GB, free: 2.344 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.6725, allocations: 100.3 kB / 0.6451 GB, free: 2.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/0.7026, allocations: 12.54 MB / 0.6574 GB, free: 5.332 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009798/0.7037, allocations: 1.049 MB / 0.6584 GB, free: 4.254 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000617/0.7043, allocations: 94.69 kB / 0.6585 GB, free: 4.156 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006719/0.705, allocations: 399.3 kB / 0.6589 GB, free: 3.766 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.705, allocations: 0 / 0.6589 GB, free: 3.766 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06302/0.768, allocations: 27.87 MB / 0.6861 GB, free: 8.023 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.05, allocations: 5.75 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 & /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)