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.001096/0.001095, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.237/1.237, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008441/0.000844, allocations: 108.8 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4526/0.4526, allocations: 78.04 MB / 414.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.782e-05, allocations: 0 / 491.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3471, allocations: 69.35 MB / 0.548 GB, free: 20.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.4753, allocations: 100.6 MB / 0.6463 GB, free: 15.84 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.4755, allocations: 71.97 kB / 0.6463 GB, free: 15.77 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06999/0.5455, allocations: 24.78 MB / 0.6705 GB, free: 6.785 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.5455, allocations: 0 / 0.6705 GB, free: 6.785 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001039/0.5457, allocations: 19.94 kB / 0.6705 GB, free: 6.766 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.004791/0.5505, allocations: 1.516 MB / 0.672 GB, free: 5.203 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.5505, allocations: 15.97 kB / 0.672 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003706/0.5509, allocations: 110.5 kB / 0.6721 GB, free: 5.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/0.5535, allocations: 418.1 kB / 0.6725 GB, free: 4.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.5558, allocations: 0.7472 MB / 0.6733 GB, free: 3.855 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.5561, allocations: 221.8 kB / 0.6735 GB, free: 3.609 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.5563, allocations: 60 kB / 0.6735 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.5579, allocations: 0.7094 MB / 0.6742 GB, free: 2.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5579, allocations: 0 / 0.6742 GB, free: 2.832 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-05/0.558, allocations: 28 kB / 0.6743 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.5581, allocations: 15.94 kB / 0.6743 GB, free: 2.789 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.5595, allocations: 0.7042 MB / 0.675 GB, free: 2.086 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2962/0.8557, allocations: 3.048 MB / 0.6779 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00599/0.8617, allocations: 1.794 MB / 0.6797 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007193/0.8625, allocations: 453 kB / 0.6801 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-05/0.8626, allocations: 13.2 kB / 0.6801 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009115/0.8635, allocations: 0.504 MB / 0.6806 GB, free: 104.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 2.655e-06/0.8635, allocations: 0 / 0.6806 GB, free: 104.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.008661/0.8722, allocations: 2.662 MB / 0.6832 GB, free: 104.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.8723, allocations: 60.38 kB / 0.6833 GB, free: 104.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.8748, allocations: 0.7909 MB / 0.6841 GB, free: 104.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002911/0.8751, allocations: 36.42 kB / 0.6841 GB, free: 104.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006044/0.8757, allocations: 483.2 kB / 0.6845 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/0.8762, allocations: 263.4 kB / 0.6848 GB, free: 104.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/0.8764, allocations: 14.78 kB / 0.6848 GB, free: 104.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8765, allocations: 334.5 kB / 0.6851 GB, free: 104 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/0.8773, allocations: 366.5 kB / 0.6855 GB, free: 104 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.878, allocations: 467.5 kB / 0.6859 GB, free: 103.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006844/0.8787, allocations: 408 kB / 0.6863 GB, free: 103.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.8787, allocations: 3.656 kB / 0.6863 GB, free: 103.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007252/0.8859, allocations: 2.689 MB / 0.6889 GB, free: 103.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.886, allocations: 14.39 kB / 0.689 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.886, allocations: 3.906 kB / 0.689 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004056/0.8901, allocations: 1.267 MB / 0.6902 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/0.8907, allocations: 146.4 kB / 0.6903 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007555/0.8983, allocations: 4.595 MB / 0.6948 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.8995, allocations: 162 kB / 0.695 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.8996, allocations: 26.44 kB / 0.695 GB, free: 101 MB / 490.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.0002062/0.8998, allocations: 150.5 kB / 0.6951 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.9001, allocations: 109.1 kB / 0.6953 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007203/0.9073, allocations: 2.757 MB / 0.6979 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.9073, allocations: 13.41 kB / 0.698 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9073, allocations: 3.953 kB / 0.698 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.9073, allocations: 7.094 kB / 0.698 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008288/0.9156, allocations: 4.108 MB / 0.702 GB, free: 98.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.9157, allocations: 0 / 0.702 GB, free: 98.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.9161, allocations: 95.14 kB / 0.7021 GB, free: 98.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004058/0.9202, allocations: 1.319 MB / 0.7034 GB, free: 98.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.9204, allocations: 11.97 kB / 0.7034 GB, free: 98.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008238/0.9286, allocations: 4.906 MB / 0.7082 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.9287, allocations: 0 / 0.7082 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008351/0.937, allocations: 3.359 MB / 0.7114 GB, free: 92.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.9374, allocations: 200.4 kB / 0.7116 GB, free: 91.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.9376, allocations: 15.95 kB / 0.7116 GB, free: 91.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.9387, allocations: 116.1 kB / 0.7118 GB, free: 91.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004249/0.9391, allocations: 158.9 kB / 0.7119 GB, free: 91.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/0.9392, allocations: 23.28 kB / 0.7119 GB, free: 91.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007286/0.9399, allocations: 0.6149 MB / 0.7125 GB, free: 91.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.9399, allocations: 0 / 0.7125 GB, free: 91.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009862/0.9409, allocations: 341.8 kB / 0.7129 GB, free: 90.89 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.008192/0.9491, allocations: 3.949 MB / 0.7167 GB, free: 87.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003305/0.9524, allocations: 1.573 MB / 0.7183 GB, free: 85.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9525, allocations: 0 / 0.7183 GB, free: 85.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002611/0.9551, allocations: 1.174 MB / 0.7194 GB, free: 84.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/0.9557, allocations: 80.56 kB / 0.7195 GB, free: 84.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.9587, allocations: 1.48 MB / 0.7209 GB, free: 83.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.9592, allocations: 1.061 MB / 0.722 GB, free: 82.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003549/0.9595, allocations: 83.88 kB / 0.722 GB, free: 82.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.9599, allocations: 388.1 kB / 0.7224 GB, free: 82.14 MB / 490.7 MB Notification: Performance of SimCode: time 3.2e-07/0.9599, allocations: 0 / 0.7224 GB, free: 82.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03714/0.9971, allocations: 24.51 MB / 0.7463 GB, free: 59.24 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/0.9973, allocations: 154.2 kB / 0.7465 GB, free: 59.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.479, allocations: 0 / 0.7465 GB, free: 59.02 MB / 490.7 MB (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)