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.007711/0.007711, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.559/1.559, allocations: 223.2 MB / 239 MB, free: 56 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 93.84 kB / 290.2 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5679/0.5679, allocations: 79.44 MB / 420.7 MB, free: 36.25 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 8 kB / 0.4891 GB, free: 6.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 69.5 MB / 0.557 GB, free: 0.707 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4802/0.6393, allocations: 101.2 MB / 0.6558 GB, free: 15.93 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.6397, allocations: 73.7 kB / 0.6559 GB, free: 15.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07601/0.7158, allocations: 25.01 MB / 0.6803 GB, free: 6.879 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.7158, allocations: 0 / 0.6803 GB, free: 6.879 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001457/0.716, allocations: 20 kB / 0.6804 GB, free: 6.859 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.006188/0.7222, allocations: 1.756 MB / 0.6821 GB, free: 5.055 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.7222, allocations: 12.03 kB / 0.6821 GB, free: 5.043 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004265/0.7227, allocations: 110.5 kB / 0.6822 GB, free: 4.926 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.7253, allocations: 420.8 kB / 0.6826 GB, free: 4.516 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/0.728, allocations: 0.7859 MB / 0.6834 GB, free: 3.676 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.7283, allocations: 217.8 kB / 0.6836 GB, free: 3.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.7286, allocations: 60 kB / 0.6836 GB, free: 3.371 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.7308, allocations: 0.8692 MB / 0.6845 GB, free: 2.496 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.7309, allocations: 7.938 kB / 0.6845 GB, free: 2.488 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.865e-05/0.731, allocations: 24 kB / 0.6845 GB, free: 2.465 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.731, allocations: 20 kB / 0.6845 GB, free: 2.445 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.7331, allocations: 0.9031 MB / 0.6854 GB, free: 1.543 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006803/0.7399, allocations: 3.059 MB / 0.6884 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006503/0.7464, allocations: 1.959 MB / 0.6903 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.7466, allocations: 24.59 kB / 0.6903 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001493/0.7481, allocations: 0.6524 MB / 0.691 GB, free: 11.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 5.19e-06/0.7481, allocations: 0 / 0.691 GB, free: 11.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.01997/0.7681, allocations: 5.512 MB / 0.6964 GB, free: 6.035 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.7682, allocations: 60.06 kB / 0.6964 GB, free: 5.965 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.7702, allocations: 0.828 MB / 0.6972 GB, free: 5.121 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.7705, allocations: 41.7 kB / 0.6973 GB, free: 5.074 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/0.771, allocations: 492.6 kB / 0.6977 GB, free: 4.586 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.7714, allocations: 244.3 kB / 0.698 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.743e-05/0.7715, allocations: 16 kB / 0.698 GB, free: 4.328 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7716, allocations: 334 kB / 0.6983 GB, free: 3.996 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.7729, allocations: 0.5212 MB / 0.6988 GB, free: 3.477 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.7741, allocations: 0.6126 MB / 0.6994 GB, free: 2.828 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.7754, allocations: 0.5584 MB / 0.6999 GB, free: 2.273 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.7754, allocations: 4 kB / 0.7 GB, free: 2.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.009303/0.7847, allocations: 3.126 MB / 0.703 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.7848, allocations: 8 kB / 0.703 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7848, allocations: 0 / 0.703 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005136/0.79, allocations: 1.498 MB / 0.7045 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/0.7908, allocations: 146.9 kB / 0.7046 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/0.804, allocations: 5.974 MB / 0.7104 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.8057, allocations: 159.2 kB / 0.7106 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.8059, allocations: 28.84 kB / 0.7106 GB, free: 7.195 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(start = Gen1.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked 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.0007784/0.8067, allocations: 227.7 kB / 0.7108 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004049/0.8071, allocations: 110.6 kB / 0.7109 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009624/0.8167, allocations: 3.176 MB / 0.7141 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.8168, allocations: 8 kB / 0.7141 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8168, allocations: 0 / 0.7141 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.8168, allocations: 7.984 kB / 0.7141 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.8292, allocations: 4.535 MB / 0.7185 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.8293, allocations: 0 / 0.7185 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/0.83, allocations: 99.89 kB / 0.7186 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006048/0.8361, allocations: 1.547 MB / 0.7201 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.8362, allocations: 19.98 kB / 0.7201 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/0.8508, allocations: 6.155 MB / 0.7261 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.8509, allocations: 5.047 kB / 0.7261 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/0.8621, allocations: 3.93 MB / 0.73 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/0.8627, allocations: 199.7 kB / 0.7302 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.8631, allocations: 16 kB / 0.7302 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.8643, allocations: 115.9 kB / 0.7303 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005543/0.8649, allocations: 152.4 kB / 0.7304 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.004e-05/0.865, allocations: 23.95 kB / 0.7305 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001384/0.8664, allocations: 0.6514 MB / 0.7311 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8664, allocations: 0 / 0.7311 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001477/0.8679, allocations: 347.7 kB / 0.7314 GB, free: 1.555 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 () * Number of clocked 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.0116/0.8795, allocations: 4.529 MB / 0.7358 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004994/0.8845, allocations: 1.893 MB / 0.7377 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.8846, allocations: 0 / 0.7377 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003524/0.8881, allocations: 1.33 MB / 0.739 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.8893, allocations: 95.03 kB / 0.7391 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/0.911, allocations: 10.19 MB / 0.749 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008249/0.9119, allocations: 1.061 MB / 0.7501 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005134/0.9124, allocations: 77.44 kB / 0.7502 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006492/0.9131, allocations: 387.3 kB / 0.7505 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of SimCode: time 1.162e-06/0.9131, allocations: 0 / 0.7505 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05265/0.9657, allocations: 24.68 MB / 0.7746 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002955/0.9661, allocations: 187.1 kB / 0.7748 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/3.963, allocations: 0 / 0.7748 GB, free: 4.863 MB / 0.5573 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)