Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 179.1 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 79.89 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08717/0.08717, allocations: 12.19 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3188/0.3188, allocations: 78.07 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.619e-05, allocations: 0 / 0.5142 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1378, allocations: 69.24 MB / 0.5818 GB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5484, allocations: 101.4 MB / 0.6809 GB, free: 7.117 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.5486, allocations: 71.33 kB / 0.6809 GB, free: 7.082 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06164/0.6103, allocations: 23.77 MB / 0.7042 GB, free: 3.473 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.6103, allocations: 4 kB / 0.7042 GB, free: 3.469 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.787e-05/0.6104, allocations: 16 kB / 0.7042 GB, free: 3.453 MB / 442.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.003849/0.6142, allocations: 1.512 MB / 0.7057 GB, free: 1.996 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.6143, allocations: 16.02 kB / 0.7057 GB, free: 1.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.6165, allocations: 416.8 kB / 0.7061 GB, free: 1.605 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.6179, allocations: 0.7417 MB / 0.7068 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.6181, allocations: 193.8 kB / 0.707 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.6182, allocations: 35.91 kB / 0.707 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001112/0.6193, allocations: 0.6743 MB / 0.7077 GB, free: 292 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.6205, allocations: 0.6255 MB / 0.7083 GB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.6205, allocations: 0 / 0.7083 GB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.6206, allocations: 4 kB / 0.7083 GB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.6206, allocations: 16 kB / 0.7083 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004782/0.6254, allocations: 2.939 MB / 0.7112 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005828/0.6312, allocations: 1.763 MB / 0.7129 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/0.6319, allocations: 434 kB / 0.7133 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.539e-05/0.632, allocations: 12.77 kB / 0.7133 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007237/0.6327, allocations: 497.2 kB / 0.7138 GB, free: 11.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=74): time 2.775e-06/0.6327, allocations: 0 / 0.7138 GB, free: 11.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=74): time 0.007781/0.6405, allocations: 2.6 MB / 0.7163 GB, free: 9.215 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.6406, allocations: 60.19 kB / 0.7164 GB, free: 9.145 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.6417, allocations: 0.7187 MB / 0.7171 GB, free: 8.602 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.6418, allocations: 25.7 kB / 0.7171 GB, free: 8.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.6423, allocations: 487 kB / 0.7176 GB, free: 8.301 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.6426, allocations: 254.7 kB / 0.7178 GB, free: 8.078 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.6426, allocations: 4 kB / 0.7178 GB, free: 8.074 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6428, allocations: 332.5 kB / 0.7181 GB, free: 7.754 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/0.6434, allocations: 354.7 kB / 0.7185 GB, free: 7.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006964/0.6441, allocations: 440.6 kB / 0.7189 GB, free: 7.281 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006601/0.6447, allocations: 389.2 kB / 0.7193 GB, free: 7.066 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6447, allocations: 0 / 0.7193 GB, free: 7.066 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007653/0.6524, allocations: 2.624 MB / 0.7218 GB, free: 4.848 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.6525, allocations: 11.94 kB / 0.7218 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.6525, allocations: 3.953 kB / 0.7218 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004379/0.6569, allocations: 1.233 MB / 0.7231 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.6576, allocations: 143.5 kB / 0.7232 GB, free: 3.617 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008224/0.6658, allocations: 4.459 MB / 0.7275 GB, free: 356 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.6673, allocations: 135.3 kB / 0.7277 GB, free: 220 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/0.6674, allocations: 31.23 kB / 0.7277 GB, free: 196 kB / 458.7 MB 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.0003553/0.6677, allocations: 120.8 kB / 0.7278 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007992/0.6757, allocations: 2.61 MB / 0.7304 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.676, allocations: 110.6 kB / 0.7305 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007997/0.684, allocations: 2.676 MB / 0.7331 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.6841, allocations: 12 kB / 0.7331 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6841, allocations: 0 / 0.7331 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.6841, allocations: 3.984 kB / 0.7331 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009877/0.694, allocations: 3.967 MB / 0.737 GB, free: 8.191 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.694, allocations: 0 / 0.737 GB, free: 8.191 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.6946, allocations: 94.89 kB / 0.7371 GB, free: 8.102 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004625/0.6992, allocations: 1.297 MB / 0.7383 GB, free: 6.848 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.6994, allocations: 11.94 kB / 0.7383 GB, free: 6.836 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009411/0.7088, allocations: 4.801 MB / 0.743 GB, free: 1.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.7088, allocations: 0 / 0.743 GB, free: 1.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009394/0.7182, allocations: 3.298 MB / 0.7463 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/0.7188, allocations: 195.8 kB / 0.7464 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.719, allocations: 3.984 kB / 0.7464 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.72, allocations: 103.9 kB / 0.7465 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004706/0.7205, allocations: 156.4 kB / 0.7467 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-05/0.7206, allocations: 23.98 kB / 0.7467 GB, free: 14.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008684/0.7214, allocations: 0.5452 MB / 0.7472 GB, free: 13.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7215, allocations: 0 / 0.7472 GB, free: 13.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001137/0.7226, allocations: 311.5 kB / 0.7475 GB, free: 13.24 MB / 490.7 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 () * 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.009284/0.7319, allocations: 3.866 MB / 0.7513 GB, free: 9.336 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003959/0.7359, allocations: 1.524 MB / 0.7528 GB, free: 7.777 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7359, allocations: 0.5625 kB / 0.7528 GB, free: 7.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003039/0.7389, allocations: 1.123 MB / 0.7539 GB, free: 6.625 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.7398, allocations: 71.47 kB / 0.754 GB, free: 6.555 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.743, allocations: 1.417 MB / 0.7554 GB, free: 5.094 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.7437, allocations: 1.069 MB / 0.7564 GB, free: 4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.7441, allocations: 77.33 kB / 0.7565 GB, free: 3.922 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/0.7446, allocations: 379.3 kB / 0.7568 GB, free: 3.551 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.7446, allocations: 0 / 0.7568 GB, free: 3.551 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05521/0.7998, allocations: 22.74 MB / 0.779 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/0.8001, allocations: 113.1 kB / 0.7791 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/3.693, allocations: 4 kB / 0.7792 GB, free: 12.66 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)