Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_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.001183/0.001183, allocations: 180.9 kB / 7.65 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.339/1.339, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008966/0.0008966, allocations: 91.86 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5472/0.5472, allocations: 78.95 MB / 410.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.296e-05, allocations: 0 / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1851, allocations: 69.51 MB / 0.5425 GB, free: 5.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.6455, allocations: 100.5 MB / 0.6406 GB, free: 13.59 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.6458, allocations: 72.72 kB / 0.6407 GB, free: 13.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07097/0.7167, allocations: 24.66 MB / 0.6648 GB, free: 4.895 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7168, allocations: 0 / 0.6648 GB, free: 4.895 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001307/0.7169, allocations: 24 kB / 0.6648 GB, free: 4.871 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.005185/0.7221, allocations: 1.515 MB / 0.6663 GB, free: 3.309 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.7222, allocations: 8.031 kB / 0.6663 GB, free: 3.301 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/0.7249, allocations: 414.1 kB / 0.6667 GB, free: 2.895 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.7271, allocations: 0.7468 MB / 0.6674 GB, free: 2.094 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.7275, allocations: 194.1 kB / 0.6676 GB, free: 1.875 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.7277, allocations: 39.95 kB / 0.6676 GB, free: 1.836 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001525/0.7293, allocations: 0.6743 MB / 0.6683 GB, free: 1.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.7306, allocations: 0.6184 MB / 0.6689 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.7306, allocations: 0 / 0.6689 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.7307, allocations: 4 kB / 0.6689 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.7307, allocations: 12 kB / 0.6689 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006192/0.7369, allocations: 2.94 MB / 0.6718 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006011/0.743, allocations: 1.772 MB / 0.6735 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007218/0.7437, allocations: 428.8 kB / 0.6739 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.7439, allocations: 8.781 kB / 0.6739 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008707/0.7447, allocations: 496.4 kB / 0.6744 GB, free: 10.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 3.697e-06/0.7448, allocations: 0 / 0.6744 GB, free: 10.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.0087/0.7535, allocations: 2.6 MB / 0.677 GB, free: 8.051 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.7535, allocations: 60.19 kB / 0.677 GB, free: 7.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.7549, allocations: 0.7173 MB / 0.6777 GB, free: 7.246 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.7551, allocations: 25.7 kB / 0.6777 GB, free: 7.215 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.7554, allocations: 485.1 kB / 0.6782 GB, free: 6.738 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.7558, allocations: 252.2 kB / 0.6784 GB, free: 6.488 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.7559, allocations: 0 / 0.6784 GB, free: 6.488 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.756, allocations: 345.9 kB / 0.6788 GB, free: 6.145 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.7566, allocations: 349.5 kB / 0.6791 GB, free: 5.801 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006538/0.7573, allocations: 439.6 kB / 0.6795 GB, free: 5.348 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006418/0.7579, allocations: 389.2 kB / 0.6799 GB, free: 4.965 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.7579, allocations: 4.75 kB / 0.6799 GB, free: 4.961 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007761/0.7657, allocations: 2.624 MB / 0.6825 GB, free: 2.324 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.7658, allocations: 8 kB / 0.6825 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.7658, allocations: 4 kB / 0.6825 GB, free: 2.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004479/0.7703, allocations: 1.218 MB / 0.6837 GB, free: 1.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/0.7712, allocations: 147.8 kB / 0.6838 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008657/0.7799, allocations: 4.466 MB / 0.6882 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.7814, allocations: 143.2 kB / 0.6883 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.7817, allocations: 33.34 kB / 0.6883 GB, free: 12.2 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.0003618/0.782, allocations: 129.5 kB / 0.6885 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008025/0.7901, allocations: 2.604 MB / 0.691 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/0.7905, allocations: 106.7 kB / 0.6911 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008042/0.7985, allocations: 2.684 MB / 0.6937 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/0.7986, allocations: 8 kB / 0.6937 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.7986, allocations: 4 kB / 0.6937 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.7987, allocations: 3.984 kB / 0.6937 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.8089, allocations: 3.965 MB / 0.6976 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.8089, allocations: 0 / 0.6976 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.8095, allocations: 99.83 kB / 0.6977 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00451/0.814, allocations: 1.306 MB / 0.699 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.8142, allocations: 0 / 0.699 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009704/0.8239, allocations: 4.8 MB / 0.7037 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8239, allocations: 0 / 0.7037 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009048/0.833, allocations: 3.291 MB / 0.7069 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/0.8335, allocations: 199.7 kB / 0.7071 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/0.8338, allocations: 0 / 0.7071 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.835, allocations: 103.9 kB / 0.7072 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004861/0.8355, allocations: 156.5 kB / 0.7073 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.557e-05/0.8356, allocations: 16 kB / 0.7073 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008951/0.8365, allocations: 0.553 MB / 0.7079 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8365, allocations: 0 / 0.7079 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001321/0.8378, allocations: 315.5 kB / 0.7082 GB, free: 7.551 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.009565/0.8474, allocations: 3.864 MB / 0.7119 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004394/0.8518, allocations: 1.515 MB / 0.7134 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.8518, allocations: 0 / 0.7134 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003236/0.8551, allocations: 1.128 MB / 0.7145 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.8562, allocations: 72.23 kB / 0.7146 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.86, allocations: 1.425 MB / 0.716 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.8607, allocations: 1.061 MB / 0.717 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003861/0.8611, allocations: 77.33 kB / 0.7171 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/0.8616, allocations: 387.3 kB / 0.7175 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.8616, allocations: 0.5625 kB / 0.7175 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05007/0.9117, allocations: 22.73 MB / 0.7397 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.912, allocations: 117 kB / 0.7398 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.569, allocations: 4 kB / 0.7398 GB, free: 7.148 MB / 0.5417 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)