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/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica_Synchronous 0.93.0/package.mo): time 0.1319/0.1319, allocations: 12.2 MB / 27.17 MB, free: 1.926 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 105.8 kB / 30.68 MB, free: 5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 239.5 MB, free: 12.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 189.6 kB / 290.6 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5971/0.5971, allocations: 78.54 MB / 420.1 MB, free: 48.98 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009991/0.0009996, allocations: 35.94 kB / 0.4895 GB, free: 2.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4523, allocations: 69.21 MB / 0.5571 GB, free: 42.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006693/0.459, allocations: 5.568 MB / 0.5626 GB, free: 41.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004857/0.4639, allocations: 1.745 MB / 0.5643 GB, free: 40.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.4652, allocations: 15.19 kB / 0.5643 GB, free: 40.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008992/0.4661, allocations: 158.1 kB / 0.5644 GB, free: 39.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.4684, allocations: 0.5777 MB / 0.565 GB, free: 39.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.4699, allocations: 472 kB / 0.5655 GB, free: 39.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.4726, allocations: 1.261 MB / 0.5667 GB, free: 38.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005215/0.4732, allocations: 223 kB / 0.5669 GB, free: 38.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.4743, allocations: 498.8 kB / 0.5674 GB, free: 38.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008598/0.4752, allocations: 0.5712 MB / 0.5679 GB, free: 38.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.4753, allocations: 49.75 kB / 0.568 GB, free: 38.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006575/0.476, allocations: 174.2 kB / 0.5682 GB, free: 38.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.4762, allocations: 202.8 kB / 0.5683 GB, free: 37.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.4765, allocations: 204.6 kB / 0.5685 GB, free: 37.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.4778, allocations: 1.026 MB / 0.5695 GB, free: 37.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.4778, allocations: 0 / 0.5695 GB, free: 37.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.989e-06/0.4778, allocations: 1.156 kB / 0.5695 GB, free: 37.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.4778, allocations: 0 / 0.5695 GB, free: 37.54 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.006647/0.4845, allocations: 2.095 MB / 0.5716 GB, free: 36.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/0.4845, allocations: 12.61 kB / 0.5716 GB, free: 36.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002208/0.4848, allocations: 106.3 kB / 0.5717 GB, free: 36.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.4879, allocations: 0.5598 MB / 0.5722 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.4894, allocations: 0.7463 MB / 0.573 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.4896, allocations: 219.2 kB / 0.5732 GB, free: 35.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.4898, allocations: 62.25 kB / 0.5732 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.4914, allocations: 0.8805 MB / 0.5741 GB, free: 35.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.4914, allocations: 0 / 0.5741 GB, free: 35.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.4915, allocations: 27.45 kB / 0.5741 GB, free: 35.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.4915, allocations: 14.81 kB / 0.5741 GB, free: 35.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.4932, allocations: 0.9038 MB / 0.575 GB, free: 35.05 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.005317/0.4985, allocations: 3.105 MB / 0.5781 GB, free: 33.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005411/0.504, allocations: 1.976 MB / 0.58 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.505, allocations: 0.6022 MB / 0.5806 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.599e-05/0.5051, allocations: 10.2 kB / 0.5806 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.5063, allocations: 0.6609 MB / 0.5812 GB, free: 32.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.665e-06/0.5063, allocations: 4 kB / 0.5812 GB, free: 32.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01667/0.523, allocations: 5.579 MB / 0.5867 GB, free: 30.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.5231, allocations: 60.28 kB / 0.5867 GB, free: 30.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.5247, allocations: 0.9594 MB / 0.5877 GB, free: 30.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.5249, allocations: 51.05 kB / 0.5877 GB, free: 30.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.5252, allocations: 469.5 kB / 0.5882 GB, free: 29.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.5255, allocations: 262.9 kB / 0.5884 GB, free: 29.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.5256, allocations: 21.91 kB / 0.5884 GB, free: 29.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5257, allocations: 340.4 kB / 0.5888 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.5268, allocations: 0.596 MB / 0.5894 GB, free: 29.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.528, allocations: 0.7127 MB / 0.5901 GB, free: 28.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.5292, allocations: 0.6468 MB / 0.5907 GB, free: 28.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5292, allocations: 0 / 0.5907 GB, free: 28.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008935/0.5381, allocations: 3.327 MB / 0.5939 GB, free: 27.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.5382, allocations: 6.875 kB / 0.5939 GB, free: 27.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.5383, allocations: 1.375 kB / 0.5939 GB, free: 27.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005036/0.5433, allocations: 1.483 MB / 0.5954 GB, free: 27.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.5445, allocations: 190.4 kB / 0.5956 GB, free: 27.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.5572, allocations: 5.729 MB / 0.6012 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.559, allocations: 180.5 kB / 0.6013 GB, free: 24.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/0.5593, allocations: 39.98 kB / 0.6014 GB, free: 24.55 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.0007925/0.5601, allocations: 241 kB / 0.6016 GB, free: 24.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004121/0.5605, allocations: 119.4 kB / 0.6017 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009785/0.5703, allocations: 3.152 MB / 0.6048 GB, free: 23.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.5704, allocations: 10.61 kB / 0.6048 GB, free: 23.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5704, allocations: 1.703 kB / 0.6048 GB, free: 23.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/0.5705, allocations: 7.688 kB / 0.6048 GB, free: 23.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.5832, allocations: 4.519 MB / 0.6092 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.5832, allocations: 0 / 0.6092 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.5838, allocations: 103.8 kB / 0.6093 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005001/0.5889, allocations: 1.539 MB / 0.6108 GB, free: 20.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.5891, allocations: 16.17 kB / 0.6108 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.6007, allocations: 5.884 MB / 0.6166 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6007, allocations: 0 / 0.6166 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009283/0.61, allocations: 3.914 MB / 0.6204 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/0.6106, allocations: 203.7 kB / 0.6206 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/0.611, allocations: 19.95 kB / 0.6206 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.6121, allocations: 115.9 kB / 0.6207 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004969/0.6126, allocations: 152.4 kB / 0.6209 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/0.6127, allocations: 24 kB / 0.6209 GB, free: 10.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.6139, allocations: 0.6475 MB / 0.6215 GB, free: 9.652 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6139, allocations: 7.938 kB / 0.6215 GB, free: 9.645 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00171/0.6156, allocations: 347.7 kB / 0.6219 GB, free: 9.305 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.009668/0.6253, allocations: 4.486 MB / 0.6263 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004998/0.6304, allocations: 2.041 MB / 0.6283 GB, free: 2.711 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.6304, allocations: 0 / 0.6283 GB, free: 2.711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003196/0.6336, allocations: 1.337 MB / 0.6296 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.6353, allocations: 93.23 kB / 0.6296 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02253/0.6579, allocations: 9.085 MB / 0.6385 GB, free: 7.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008646/0.6588, allocations: 1.046 MB / 0.6395 GB, free: 6.797 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000604/0.6594, allocations: 98.67 kB / 0.6396 GB, free: 6.695 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007108/0.6601, allocations: 399.3 kB / 0.64 GB, free: 6.305 MB / 446.1 MB Notification: Performance of SimCode: time 1.924e-06/0.6602, allocations: 0 / 0.64 GB, free: 6.305 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0573/0.7175, allocations: 25.38 MB / 0.6648 GB, free: 13.04 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.7177, allocations: 196.3 kB / 0.665 GB, free: 12.79 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.378, allocations: 4 kB / 0.665 GB, free: 12.79 MB / 478.1 MB (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) Environment - environmentSimulation: