Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009882/0.009882, allocations: 170.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.2 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000996/0.000996, allocations: 103.9 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5092/0.5092, allocations: 78.59 MB / 419.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.000397, allocations: 8 kB / 499.8 MB, free: 2.859 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5721/0.5725, allocations: 69.34 MB / 0.5558 GB, free: 39.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.7233, allocations: 100.6 MB / 0.6541 GB, free: 5.875 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.7236, allocations: 84.78 kB / 0.6542 GB, free: 5.793 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07099/0.7946, allocations: 24.83 MB / 0.6785 GB, free: 12.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7946, allocations: 0 / 0.6785 GB, free: 12.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.959e-05/0.7947, allocations: 20 kB / 0.6785 GB, free: 12.77 MB / 490.7 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.00474/0.7995, allocations: 1.756 MB / 0.6802 GB, free: 10.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.7995, allocations: 8.031 kB / 0.6802 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.7997, allocations: 114.5 kB / 0.6803 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002414/0.8021, allocations: 422.1 kB / 0.6807 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.8039, allocations: 0.7782 MB / 0.6815 GB, free: 9.586 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.8042, allocations: 221.7 kB / 0.6817 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.8043, allocations: 60 kB / 0.6817 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.8061, allocations: 0.8732 MB / 0.6826 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.8061, allocations: 0 / 0.6826 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.388e-05/0.8062, allocations: 27.98 kB / 0.6826 GB, free: 8.371 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.8063, allocations: 16 kB / 0.6826 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.8081, allocations: 0.907 MB / 0.6835 GB, free: 7.449 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006046/0.8142, allocations: 3.055 MB / 0.6865 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007348/0.8215, allocations: 1.97 MB / 0.6884 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-05/0.8217, allocations: 20.59 kB / 0.6884 GB, free: 2.172 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/0.823, allocations: 0.6563 MB / 0.6891 GB, free: 1.504 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 3.276e-06/0.823, allocations: 0 / 0.6891 GB, free: 1.504 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.01993/0.843, allocations: 5.512 MB / 0.6945 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.8431, allocations: 60.06 kB / 0.6945 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.8445, allocations: 0.828 MB / 0.6953 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.8446, allocations: 49.64 kB / 0.6954 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/0.845, allocations: 480.7 kB / 0.6958 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.8453, allocations: 256.3 kB / 0.6961 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.8454, allocations: 16 kB / 0.6961 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8455, allocations: 330 kB / 0.6964 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.8465, allocations: 0.5173 MB / 0.6969 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.8477, allocations: 0.6203 MB / 0.6975 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.8488, allocations: 0.5506 MB / 0.6981 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8488, allocations: 0 / 0.6981 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.009037/0.8579, allocations: 3.128 MB / 0.7011 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.8579, allocations: 8.625 kB / 0.7011 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.8579, allocations: 0 / 0.7011 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005149/0.8631, allocations: 1.494 MB / 0.7026 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008539/0.864, allocations: 147.8 kB / 0.7027 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/0.8767, allocations: 5.964 MB / 0.7086 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.8784, allocations: 167.2 kB / 0.7087 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.316e-05/0.8785, allocations: 27.98 kB / 0.7087 GB, free: 13.09 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005826/0.8791, allocations: 218.6 kB / 0.7089 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.8793, allocations: 122.5 kB / 0.7091 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009067/0.8884, allocations: 3.169 MB / 0.7122 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.8884, allocations: 8 kB / 0.7122 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.8884, allocations: 3.984 kB / 0.7122 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.8885, allocations: 0 / 0.7122 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.8999, allocations: 4.548 MB / 0.7166 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.9, allocations: 0 / 0.7166 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006315/0.9006, allocations: 95.88 kB / 0.7167 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005242/0.9059, allocations: 1.547 MB / 0.7182 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.9061, allocations: 12 kB / 0.7182 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/0.92, allocations: 6.166 MB / 0.7242 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9201, allocations: 0 / 0.7242 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.9313, allocations: 3.938 MB / 0.7281 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/0.932, allocations: 195.7 kB / 0.7283 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004601/0.9325, allocations: 19.98 kB / 0.7283 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.9339, allocations: 107.9 kB / 0.7284 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006838/0.9346, allocations: 156.4 kB / 0.7285 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.9348, allocations: 31.94 kB / 0.7286 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001484/0.9363, allocations: 0.6514 MB / 0.7292 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9363, allocations: 0 / 0.7292 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001691/0.938, allocations: 343.8 kB / 0.7295 GB, free: 7.43 MB / 0.5261 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.01152/0.9495, allocations: 4.529 MB / 0.734 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005126/0.9547, allocations: 1.89 MB / 0.7358 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.9547, allocations: 4.188 kB / 0.7358 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00357/0.9583, allocations: 1.332 MB / 0.7371 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/0.9592, allocations: 76.41 kB / 0.7372 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/0.9793, allocations: 10.21 MB / 0.7472 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008152/0.9802, allocations: 1.061 MB / 0.7482 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004897/0.9807, allocations: 77.45 kB / 0.7483 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006391/0.9814, allocations: 387.3 kB / 0.7486 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of SimCode: time 9.42e-07/0.9814, allocations: 4 kB / 0.7486 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3474/1.329, allocations: 24.66 MB / 0.7727 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/1.329, allocations: 197.5 kB / 0.7729 GB, free: 150.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/4.054, allocations: 0 / 0.7729 GB, free: 150.5 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)