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.001082/0.001082, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008702/0.0008705, allocations: 84.33 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06739/0.06739, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2806/0.2806, allocations: 78.02 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.752e-05, allocations: 7.938 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 69.24 MB / 0.5889 GB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.5983, allocations: 102.1 MB / 0.6886 GB, free: 14.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.5985, allocations: 66.47 kB / 0.6887 GB, free: 14.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06693/0.6655, allocations: 24.05 MB / 0.7122 GB, free: 9.879 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6655, allocations: 0 / 0.7122 GB, free: 9.879 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.586e-05/0.6656, allocations: 24 kB / 0.7122 GB, free: 9.855 MB / 458.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.004064/0.6697, allocations: 1.515 MB / 0.7137 GB, free: 8.387 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.6697, allocations: 11.98 kB / 0.7137 GB, free: 8.375 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.6699, allocations: 113.3 kB / 0.7138 GB, free: 8.301 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.6721, allocations: 418.2 kB / 0.7142 GB, free: 7.918 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.6736, allocations: 0.7391 MB / 0.7149 GB, free: 7.266 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.6739, allocations: 224.5 kB / 0.7151 GB, free: 7.039 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.674, allocations: 70.41 kB / 0.7152 GB, free: 6.992 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.6753, allocations: 0.7127 MB / 0.7159 GB, free: 6.531 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.6753, allocations: 0 / 0.7159 GB, free: 6.531 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.6754, allocations: 23.25 kB / 0.7159 GB, free: 6.527 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.6754, allocations: 16 kB / 0.7159 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.6766, allocations: 0.7064 MB / 0.7166 GB, free: 6.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005233/0.6819, allocations: 3.052 MB / 0.7196 GB, free: 3.742 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006145/0.688, allocations: 1.79 MB / 0.7213 GB, free: 2.137 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.6888, allocations: 448.3 kB / 0.7218 GB, free: 1.895 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.075e-05/0.6889, allocations: 15.58 kB / 0.7218 GB, free: 1.883 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008528/0.6897, allocations: 0.5135 MB / 0.7223 GB, free: 1.527 MB / 458.7 MB Notification: Performance of pre-optimization done (n=74): time 3.276e-06/0.6897, allocations: 0 / 0.7223 GB, free: 1.527 MB / 458.7 MB Notification: Performance of matching and sorting (n=74): time 0.008211/0.698, allocations: 2.656 MB / 0.7249 GB, free: 15.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.698, allocations: 64.12 kB / 0.7249 GB, free: 15.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.6993, allocations: 0.7887 MB / 0.7257 GB, free: 14.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.6995, allocations: 35.39 kB / 0.7257 GB, free: 14.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.6998, allocations: 482.7 kB / 0.7262 GB, free: 14.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.7001, allocations: 259.2 kB / 0.7265 GB, free: 14.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.7002, allocations: 19.44 kB / 0.7265 GB, free: 14.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7003, allocations: 337.3 kB / 0.7268 GB, free: 13.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.7009, allocations: 362.8 kB / 0.7271 GB, free: 13.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/0.7016, allocations: 463.1 kB / 0.7276 GB, free: 13.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/0.7023, allocations: 405.4 kB / 0.728 GB, free: 13.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7023, allocations: 0 / 0.728 GB, free: 13.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007847/0.7101, allocations: 2.691 MB / 0.7306 GB, free: 10.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.7102, allocations: 8 kB / 0.7306 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.7102, allocations: 7.938 kB / 0.7306 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004452/0.7147, allocations: 1.277 MB / 0.7319 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.7155, allocations: 139.4 kB / 0.732 GB, free: 9.484 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008597/0.7241, allocations: 4.595 MB / 0.7365 GB, free: 6.098 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.7255, allocations: 161.4 kB / 0.7366 GB, free: 5.949 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/0.7256, allocations: 27.06 kB / 0.7367 GB, free: 5.93 MB / 474.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.0002401/0.7259, allocations: 142 kB / 0.7368 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.7261, allocations: 122.5 kB / 0.7369 GB, free: 5.684 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008263/0.7343, allocations: 2.763 MB / 0.7396 GB, free: 3.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.7344, allocations: 8 kB / 0.7396 GB, free: 3.402 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7344, allocations: 0 / 0.7396 GB, free: 3.402 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.7344, allocations: 3.984 kB / 0.7396 GB, free: 3.398 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009725/0.7441, allocations: 4.11 MB / 0.7436 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7442, allocations: 3.938 kB / 0.7436 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.7447, allocations: 91.89 kB / 0.7437 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004515/0.7492, allocations: 1.326 MB / 0.745 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/0.7493, allocations: 12 kB / 0.745 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009557/0.7589, allocations: 4.888 MB / 0.7498 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7589, allocations: 0 / 0.7498 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009526/0.7684, allocations: 3.353 MB / 0.7531 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.769, allocations: 207.7 kB / 0.7533 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.7692, allocations: 24 kB / 0.7533 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7702, allocations: 111.9 kB / 0.7534 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005522/0.7708, allocations: 152.5 kB / 0.7536 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/0.7709, allocations: 16 kB / 0.7536 GB, free: 5.629 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001009/0.7719, allocations: 0.6171 MB / 0.7542 GB, free: 5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7719, allocations: 4 kB / 0.7542 GB, free: 4.996 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001173/0.7731, allocations: 343.6 kB / 0.7545 GB, free: 4.66 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.01004/0.7831, allocations: 3.94 MB / 0.7584 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004283/0.7874, allocations: 1.579 MB / 0.7599 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7875, allocations: 0 / 0.7599 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003222/0.7907, allocations: 1.165 MB / 0.761 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008957/0.7916, allocations: 85.06 kB / 0.7611 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.7949, allocations: 1.461 MB / 0.7625 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007173/0.7957, allocations: 1.076 MB / 0.7636 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003466/0.796, allocations: 81.44 kB / 0.7637 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/0.7966, allocations: 387.3 kB / 0.764 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of SimCode: time 7.32e-07/0.7966, allocations: 0 / 0.764 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04674/0.8433, allocations: 24.53 MB / 0.788 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.8436, allocations: 160.8 kB / 0.7881 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/3.513, allocations: 3.938 kB / 0.7881 GB, free: 2.062 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)