Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_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.001473/0.001473, 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.466/1.466, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008362/0.0008361, allocations: 99.98 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4909/0.4909, allocations: 78.07 MB / 409.3 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.055e-05, allocations: 7.938 kB / 485 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1619, allocations: 69.35 MB / 0.5414 GB, free: 6.738 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4851/0.6471, allocations: 99.89 MB / 0.6389 GB, free: 15.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.6474, allocations: 71.97 kB / 0.639 GB, free: 15.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06862/0.716, allocations: 24.48 MB / 0.6629 GB, free: 6.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.7161, allocations: 3.938 kB / 0.6629 GB, free: 6.977 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.311e-05/0.7161, allocations: 20 kB / 0.6629 GB, free: 6.957 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.004111/0.7203, allocations: 1.515 MB / 0.6644 GB, free: 5.395 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.7203, allocations: 12.03 kB / 0.6644 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/0.7227, allocations: 410.1 kB / 0.6648 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.7244, allocations: 0.7429 MB / 0.6655 GB, free: 4.184 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.7246, allocations: 198.1 kB / 0.6657 GB, free: 3.961 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.7248, allocations: 44.98 kB / 0.6658 GB, free: 3.918 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/0.726, allocations: 0.6704 MB / 0.6664 GB, free: 3.246 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.7272, allocations: 0.6209 MB / 0.667 GB, free: 2.621 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.7272, allocations: 3.938 kB / 0.667 GB, free: 2.617 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.7273, allocations: 0 / 0.667 GB, free: 2.617 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.7273, allocations: 16 kB / 0.667 GB, free: 2.602 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005939/0.7333, allocations: 2.94 MB / 0.6699 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006006/0.7393, allocations: 1.766 MB / 0.6716 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006643/0.74, allocations: 424.8 kB / 0.672 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.912e-05/0.7401, allocations: 12.77 kB / 0.6721 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000814/0.7409, allocations: 0.492 MB / 0.6725 GB, free: 12.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 4.799e-06/0.741, allocations: 0 / 0.6725 GB, free: 12.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.007895/0.7489, allocations: 2.6 MB / 0.6751 GB, free: 10.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.7489, allocations: 60.19 kB / 0.6751 GB, free: 10.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.7502, allocations: 0.7173 MB / 0.6758 GB, free: 9.328 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.7504, allocations: 29.7 kB / 0.6759 GB, free: 9.293 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.7507, allocations: 480.4 kB / 0.6763 GB, free: 8.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.751, allocations: 252.2 kB / 0.6766 GB, free: 8.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.7511, allocations: 0 / 0.6766 GB, free: 8.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7512, allocations: 346.6 kB / 0.6769 GB, free: 8.227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/0.7518, allocations: 349.5 kB / 0.6772 GB, free: 7.883 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/0.7524, allocations: 443.5 kB / 0.6776 GB, free: 7.426 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.753, allocations: 385.2 kB / 0.678 GB, free: 7.047 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.753, allocations: 0 / 0.678 GB, free: 7.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007334/0.7604, allocations: 2.62 MB / 0.6806 GB, free: 4.414 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.7605, allocations: 12 kB / 0.6806 GB, free: 4.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.7605, allocations: 0.9375 kB / 0.6806 GB, free: 4.402 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004197/0.7647, allocations: 1.227 MB / 0.6818 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.7656, allocations: 151.8 kB / 0.6819 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008404/0.774, allocations: 4.454 MB / 0.6863 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.7755, allocations: 147.2 kB / 0.6864 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/0.7756, allocations: 24 kB / 0.6864 GB, free: 14.28 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.0002779/0.7759, allocations: 133.8 kB / 0.6866 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00856/0.7844, allocations: 2.607 MB / 0.6891 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/0.7849, allocations: 108.1 kB / 0.6892 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007803/0.7928, allocations: 2.68 MB / 0.6918 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.7928, allocations: 8 kB / 0.6918 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7928, allocations: 0 / 0.6918 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.7928, allocations: 7.984 kB / 0.6918 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009491/0.8023, allocations: 3.965 MB / 0.6957 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.8024, allocations: 0 / 0.6957 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.803, allocations: 95.89 kB / 0.6958 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004317/0.8073, allocations: 1.302 MB / 0.6971 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.8075, allocations: 4 kB / 0.6971 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009018/0.8165, allocations: 4.802 MB / 0.7018 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.8165, allocations: 3.984 kB / 0.7018 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008691/0.8252, allocations: 3.286 MB / 0.705 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005283/0.8258, allocations: 203.7 kB / 0.7052 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.826, allocations: 0 / 0.7052 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/0.827, allocations: 101.1 kB / 0.7053 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004706/0.8275, allocations: 160.5 kB / 0.7054 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.863e-05/0.8275, allocations: 16 kB / 0.7054 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007399/0.8283, allocations: 0.553 MB / 0.706 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8283, allocations: 3.938 kB / 0.706 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001039/0.8293, allocations: 315.5 kB / 0.7063 GB, free: 9.633 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.009185/0.8385, allocations: 3.862 MB / 0.7101 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003723/0.8423, allocations: 1.511 MB / 0.7115 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8423, allocations: 0 / 0.7115 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002968/0.8453, allocations: 1.133 MB / 0.7126 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009921/0.8463, allocations: 70.81 kB / 0.7127 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.8496, allocations: 1.419 MB / 0.7141 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.8503, allocations: 1.061 MB / 0.7151 GB, free: 420 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000358/0.8506, allocations: 75.41 kB / 0.7152 GB, free: 344 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/0.8512, allocations: 392.1 kB / 0.7156 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/0.8512, allocations: 3.938 kB / 0.7156 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/0.9016, allocations: 22.73 MB / 0.7378 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.9019, allocations: 110.8 kB / 0.7379 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/3.653, allocations: 4 kB / 0.7379 GB, free: 9.227 MB / 0.5417 GB (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)