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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 238.9 MB, free: 5.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 181 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4781/0.4781, allocations: 79.44 MB / 420.7 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003784, allocations: 15.98 kB / 0.4891 GB, free: 5.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.384, allocations: 69.5 MB / 0.557 GB, free: 37.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.00502/0.3891, allocations: 5.263 MB / 0.5621 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00362/0.3927, allocations: 1.816 MB / 0.5639 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007564/0.3935, allocations: 14.12 kB / 0.5639 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.3942, allocations: 152.5 kB / 0.564 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.3959, allocations: 0.6343 MB / 0.5646 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.397, allocations: 456.2 kB / 0.5651 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.3984, allocations: 0.8775 MB / 0.5659 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.3988, allocations: 232.1 kB / 0.5662 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006996/0.3995, allocations: 0.5024 MB / 0.5666 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.4002, allocations: 0.5667 MB / 0.5672 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.4003, allocations: 47.91 kB / 0.5672 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.4007, allocations: 160.1 kB / 0.5674 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.4009, allocations: 199 kB / 0.5676 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.4011, allocations: 208.1 kB / 0.5678 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008279/0.4019, allocations: 0.9961 MB / 0.5688 GB, free: 36.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4019, allocations: 0 / 0.5688 GB, free: 36.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4019, allocations: 0.625 kB / 0.5688 GB, free: 36.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.402, allocations: 1.219 kB / 0.5688 GB, free: 36.21 MB / 430.1 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.006641/0.4086, allocations: 2.086 MB / 0.5708 GB, free: 35.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4087, allocations: 11.06 kB / 0.5708 GB, free: 35.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/0.4089, allocations: 111.5 kB / 0.5709 GB, free: 35.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.4123, allocations: 0.5567 MB / 0.5715 GB, free: 35.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.4136, allocations: 0.7457 MB / 0.5722 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/0.4139, allocations: 219.6 kB / 0.5724 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.414, allocations: 66.41 kB / 0.5725 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.4156, allocations: 0.8681 MB / 0.5733 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.4156, allocations: 1.781 kB / 0.5733 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/0.4157, allocations: 29.95 kB / 0.5733 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.4157, allocations: 14.34 kB / 0.5734 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.4174, allocations: 0.9114 MB / 0.5742 GB, free: 34.08 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004917/0.4223, allocations: 3.305 MB / 0.5775 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005923/0.4283, allocations: 1.97 MB / 0.5794 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-05/0.4284, allocations: 17.86 kB / 0.5794 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/0.4296, allocations: 0.6616 MB / 0.5801 GB, free: 31.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.287e-06/0.4296, allocations: 0 / 0.5801 GB, free: 31.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01907/0.4487, allocations: 5.577 MB / 0.5855 GB, free: 29.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.4488, allocations: 63.59 kB / 0.5856 GB, free: 29.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.4501, allocations: 0.9609 MB / 0.5865 GB, free: 29.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.4503, allocations: 37.33 kB / 0.5865 GB, free: 29.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.4505, allocations: 475.5 kB / 0.587 GB, free: 28.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.4508, allocations: 265 kB / 0.5872 GB, free: 28.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.4508, allocations: 19.91 kB / 0.5873 GB, free: 28.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.4509, allocations: 347.1 kB / 0.5876 GB, free: 28.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.4521, allocations: 0.5984 MB / 0.5882 GB, free: 28.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.4534, allocations: 0.7095 MB / 0.5889 GB, free: 27.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.4547, allocations: 0.6408 MB / 0.5895 GB, free: 27.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.4547, allocations: 0 / 0.5895 GB, free: 27.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009104/0.4638, allocations: 3.322 MB / 0.5927 GB, free: 26.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.4638, allocations: 11.12 kB / 0.5928 GB, free: 26.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4638, allocations: 2.906 kB / 0.5928 GB, free: 26.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004919/0.4688, allocations: 1.477 MB / 0.5942 GB, free: 26.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/0.4697, allocations: 187.9 kB / 0.5944 GB, free: 26.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.483, allocations: 5.976 MB / 0.6002 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.4847, allocations: 176.1 kB / 0.6004 GB, free: 23.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/0.485, allocations: 40.39 kB / 0.6004 GB, free: 23.5 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(flow=false 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 (103): * Single equations (assignments): 101 * 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.0006861/0.4857, allocations: 231.1 kB / 0.6006 GB, free: 23.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/0.486, allocations: 112.7 kB / 0.6007 GB, free: 23.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009983/0.496, allocations: 3.159 MB / 0.6038 GB, free: 22.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.4961, allocations: 8.281 kB / 0.6038 GB, free: 22.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4961, allocations: 4 kB / 0.6038 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/0.4962, allocations: 3.797 kB / 0.6038 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.5092, allocations: 4.523 MB / 0.6083 GB, free: 20.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/0.5093, allocations: 1 kB / 0.6083 GB, free: 20.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/0.51, allocations: 99.41 kB / 0.6084 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005521/0.5155, allocations: 1.531 MB / 0.6099 GB, free: 20.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/0.5157, allocations: 17.48 kB / 0.6099 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.5292, allocations: 6.156 MB / 0.6159 GB, free: 16.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5293, allocations: 5.312 kB / 0.6159 GB, free: 16.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.5397, allocations: 3.918 MB / 0.6197 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007485/0.5406, allocations: 207.7 kB / 0.6199 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/0.541, allocations: 16.8 kB / 0.6199 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.5422, allocations: 111.9 kB / 0.62 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000524/0.5428, allocations: 152.4 kB / 0.6202 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/0.5429, allocations: 19.98 kB / 0.6202 GB, free: 11.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001044/0.5439, allocations: 0.6592 MB / 0.6208 GB, free: 10.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5439, allocations: 0 / 0.6208 GB, free: 10.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001436/0.5454, allocations: 347.7 kB / 0.6212 GB, free: 10.55 MB / 430.1 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 () * 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.009993/0.5554, allocations: 4.488 MB / 0.6256 GB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005005/0.5604, allocations: 2.046 MB / 0.6276 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.5605, allocations: 4 kB / 0.6276 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003466/0.564, allocations: 1.332 MB / 0.6289 GB, free: 2.586 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.5651, allocations: 90.05 kB / 0.6289 GB, free: 2.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/0.5709, allocations: 3.898 MB / 0.6328 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009199/0.5719, allocations: 1.081 MB / 0.6338 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005583/0.5725, allocations: 100.9 kB / 0.6339 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006313/0.5731, allocations: 395.3 kB / 0.6343 GB, free: 12.94 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5732, allocations: 0 / 0.6343 GB, free: 12.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05246/0.6256, allocations: 24.78 MB / 0.6585 GB, free: 4.523 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.6259, allocations: 187.7 kB / 0.6587 GB, free: 4.285 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/2.891, allocations: 0 / 0.6587 GB, free: 4.285 MB / 462.1 MB (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) Environment - environmentSimulation: