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.0009915/0.0009915, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.000843/0.000843, allocations: 93.72 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4891/0.4891, allocations: 78.12 MB / 409.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.58e-05, allocations: 7.938 kB / 485.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 69.35 MB / 0.5414 GB, free: 6.863 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.6217, allocations: 99.89 MB / 0.639 GB, free: 15.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.6219, allocations: 71.97 kB / 0.639 GB, free: 15.62 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06796/0.6899, allocations: 24.49 MB / 0.6629 GB, free: 7.164 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.6899, allocations: 4 kB / 0.6629 GB, free: 7.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.206e-05/0.69, allocations: 16 kB / 0.663 GB, free: 7.145 MB / 474.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.003901/0.6939, allocations: 1.511 MB / 0.6644 GB, free: 5.586 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6939, allocations: 12.03 kB / 0.6644 GB, free: 5.574 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.6962, allocations: 418.1 kB / 0.6648 GB, free: 5.164 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.6978, allocations: 0.7364 MB / 0.6656 GB, free: 4.375 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.6981, allocations: 194.1 kB / 0.6658 GB, free: 4.156 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.6982, allocations: 39.95 kB / 0.6658 GB, free: 4.117 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001234/0.6995, allocations: 0.6704 MB / 0.6664 GB, free: 3.445 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.7006, allocations: 0.6286 MB / 0.6671 GB, free: 2.812 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.7007, allocations: 0 / 0.6671 GB, free: 2.812 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/0.7007, allocations: 0 / 0.6671 GB, free: 2.812 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.7008, allocations: 20 kB / 0.6671 GB, free: 2.793 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0053/0.7061, allocations: 2.932 MB / 0.6699 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005957/0.7121, allocations: 1.766 MB / 0.6717 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/0.7128, allocations: 428.8 kB / 0.6721 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.275e-05/0.7129, allocations: 12.77 kB / 0.6721 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007905/0.7137, allocations: 0.4921 MB / 0.6726 GB, free: 12.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 2.735e-06/0.7137, allocations: 0 / 0.6726 GB, free: 12.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.008123/0.7219, allocations: 2.6 MB / 0.6751 GB, free: 10.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.7219, allocations: 60.19 kB / 0.6752 GB, free: 10.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.723, allocations: 0.7134 MB / 0.6759 GB, free: 9.527 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.7231, allocations: 29.7 kB / 0.6759 GB, free: 9.492 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.7234, allocations: 480.4 kB / 0.6763 GB, free: 9.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.7237, allocations: 256.2 kB / 0.6766 GB, free: 8.766 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.7238, allocations: 4 kB / 0.6766 GB, free: 8.762 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7239, allocations: 333.9 kB / 0.6769 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005688/0.7244, allocations: 358 kB / 0.6773 GB, free: 8.078 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.725, allocations: 447.6 kB / 0.6777 GB, free: 7.617 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005847/0.7256, allocations: 381.3 kB / 0.678 GB, free: 7.242 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7257, allocations: 0 / 0.678 GB, free: 7.242 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007477/0.7331, allocations: 2.627 MB / 0.6806 GB, free: 4.602 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.7332, allocations: 4.75 kB / 0.6806 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.7332, allocations: 4 kB / 0.6806 GB, free: 4.594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004428/0.7377, allocations: 1.223 MB / 0.6818 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/0.7385, allocations: 147.8 kB / 0.682 GB, free: 3.223 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00848/0.747, allocations: 4.46 MB / 0.6863 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.7487, allocations: 143.2 kB / 0.6864 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/0.7488, allocations: 27.98 kB / 0.6865 GB, free: 14.48 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(start = Gen1.delta0 unit = "rad" ) "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 () * 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.0003155/0.7491, allocations: 128 kB / 0.6866 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007858/0.757, allocations: 2.616 MB / 0.6891 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/0.7574, allocations: 106.7 kB / 0.6893 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008151/0.7656, allocations: 2.672 MB / 0.6919 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.7656, allocations: 11.98 kB / 0.6919 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7656, allocations: 7.125 kB / 0.6919 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.7657, allocations: 3.984 kB / 0.6919 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009891/0.7756, allocations: 3.965 MB / 0.6958 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.7756, allocations: 0 / 0.6958 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/0.7763, allocations: 99.88 kB / 0.6959 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004573/0.7809, allocations: 1.302 MB / 0.6971 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.7811, allocations: 7.984 kB / 0.6971 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009314/0.7904, allocations: 4.791 MB / 0.7018 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.7904, allocations: 0 / 0.7018 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009234/0.7997, allocations: 3.286 MB / 0.705 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.8003, allocations: 209 kB / 0.7052 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.8005, allocations: 0 / 0.7052 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.8016, allocations: 103 kB / 0.7053 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005181/0.8022, allocations: 164.4 kB / 0.7055 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.571e-05/0.8023, allocations: 16 kB / 0.7055 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001019/0.8033, allocations: 0.553 MB / 0.706 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8033, allocations: 0 / 0.706 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001389/0.8047, allocations: 311.5 kB / 0.7063 GB, free: 9.836 MB / 0.5105 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 () * 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.009901/0.8146, allocations: 3.87 MB / 0.7101 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004243/0.8189, allocations: 1.519 MB / 0.7116 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8189, allocations: 1.688 kB / 0.7116 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003204/0.8221, allocations: 1.125 MB / 0.7127 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.8232, allocations: 68.88 kB / 0.7128 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.8275, allocations: 1.417 MB / 0.7141 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008145/0.8283, allocations: 1.069 MB / 0.7152 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004218/0.8287, allocations: 73.33 kB / 0.7153 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/0.8293, allocations: 383.3 kB / 0.7156 GB, free: 152 kB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/0.8293, allocations: 0.75 kB / 0.7156 GB, free: 152 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05518/0.8845, allocations: 22.73 MB / 0.7378 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.8848, allocations: 122.1 kB / 0.7379 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/3.51, allocations: 0 / 0.7379 GB, free: 9.434 MB / 0.5417 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)