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.107/0.107, allocations: 12.21 MB / 27.48 MB, free: 0.9297 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.0007316/0.0007317, allocations: 103.5 kB / 31 MB, free: 4.527 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.313/1.313, allocations: 205.4 MB / 239.8 MB, free: 11.45 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.001128/0.001127, allocations: 180.5 kB / 291 MB, free: 13.28 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4562/0.4562, allocations: 78.52 MB / 420.5 MB, free: 48.66 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.0008822/0.0008822, allocations: 28 kB / 0.4902 GB, free: 2.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3501, allocations: 69.22 MB / 0.5578 GB, free: 43.36 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005164/0.3553, allocations: 5.917 MB / 0.5636 GB, free: 41.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003352/0.3587, allocations: 1.837 MB / 0.5654 GB, free: 40.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.3592, allocations: 11.88 kB / 0.5654 GB, free: 40.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.3598, allocations: 166 kB / 0.5655 GB, free: 40.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.3613, allocations: 0.6263 MB / 0.5661 GB, free: 39.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3624, allocations: 0.496 MB / 0.5666 GB, free: 39.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.3638, allocations: 1.35 MB / 0.5679 GB, free: 38.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.3642, allocations: 243.5 kB / 0.5682 GB, free: 38.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006146/0.3648, allocations: 497.3 kB / 0.5686 GB, free: 38.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005859/0.3654, allocations: 0.5989 MB / 0.5692 GB, free: 38.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.3656, allocations: 49.09 kB / 0.5693 GB, free: 38.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.366, allocations: 179.3 kB / 0.5695 GB, free: 38.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.3662, allocations: 210 kB / 0.5697 GB, free: 37.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.3667, allocations: 0.5321 MB / 0.5702 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.3678, allocations: 1.313 MB / 0.5715 GB, free: 37.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3678, allocations: 7.938 kB / 0.5715 GB, free: 37.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.3678, allocations: 0 / 0.5715 GB, free: 37.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.342e-05/0.3679, allocations: 3.938 kB / 0.5715 GB, free: 37.12 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.006259/0.3741, allocations: 2.068 MB / 0.5735 GB, free: 36.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3742, allocations: 14.42 kB / 0.5735 GB, free: 36.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.3744, allocations: 111.6 kB / 0.5736 GB, free: 36.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.3776, allocations: 0.5606 MB / 0.5742 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.3788, allocations: 0.7823 MB / 0.5749 GB, free: 35.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.379, allocations: 221.8 kB / 0.5751 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3792, allocations: 68.75 kB / 0.5752 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.3808, allocations: 0.8769 MB / 0.576 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3808, allocations: 4 kB / 0.5761 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.3809, allocations: 26.19 kB / 0.5761 GB, free: 34.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3809, allocations: 21.23 kB / 0.5761 GB, free: 34.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.3826, allocations: 0.9095 MB / 0.577 GB, free: 34.58 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.004785/0.3874, allocations: 3.09 MB / 0.58 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006122/0.3935, allocations: 1.992 MB / 0.5819 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.3946, allocations: 0.6008 MB / 0.5825 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.876e-05/0.3947, allocations: 10.53 kB / 0.5825 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/0.396, allocations: 0.6689 MB / 0.5832 GB, free: 31.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.507e-06/0.396, allocations: 0 / 0.5832 GB, free: 31.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01841/0.4144, allocations: 5.609 MB / 0.5887 GB, free: 30.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.4145, allocations: 60.25 kB / 0.5887 GB, free: 30.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.4158, allocations: 0.9771 MB / 0.5897 GB, free: 29.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.416, allocations: 33.7 kB / 0.5897 GB, free: 29.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.4162, allocations: 475.4 kB / 0.5902 GB, free: 29.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.4164, allocations: 262.3 kB / 0.5904 GB, free: 29.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.4166, allocations: 90.25 kB / 0.5905 GB, free: 29.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.4166, allocations: 343.5 kB / 0.5908 GB, free: 28.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4177, allocations: 0.6087 MB / 0.5914 GB, free: 28.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.4189, allocations: 0.7135 MB / 0.5921 GB, free: 28.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0177/0.4366, allocations: 4.442 MB / 0.5965 GB, free: 27.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.4367, allocations: 1.438 kB / 0.5965 GB, free: 27.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01002/0.4467, allocations: 3.343 MB / 0.5997 GB, free: 26.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.4468, allocations: 5.344 kB / 0.5997 GB, free: 26.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.4468, allocations: 2.156 kB / 0.5997 GB, free: 26.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005483/0.4523, allocations: 1.478 MB / 0.6012 GB, free: 26.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.4534, allocations: 191 kB / 0.6014 GB, free: 26.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.4666, allocations: 5.739 MB / 0.607 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.4685, allocations: 178.9 kB / 0.6071 GB, free: 23.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.4687, allocations: 36.3 kB / 0.6072 GB, free: 23.16 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 ($whenCondition2,$whenCondition1) * 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005978/0.4693, allocations: 233.6 kB / 0.6074 GB, free: 22.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.4695, allocations: 123.6 kB / 0.6075 GB, free: 22.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/0.4797, allocations: 3.166 MB / 0.6106 GB, free: 21.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.4797, allocations: 8.188 kB / 0.6106 GB, free: 21.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4797, allocations: 0 / 0.6106 GB, free: 21.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.4798, allocations: 3.984 kB / 0.6106 GB, free: 21.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.4914, allocations: 4.532 MB / 0.615 GB, free: 16.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.4914, allocations: 0 / 0.615 GB, free: 16.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.4919, allocations: 95.88 kB / 0.6151 GB, free: 16.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00477/0.4967, allocations: 1.538 MB / 0.6166 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.4968, allocations: 23.92 kB / 0.6167 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/0.5083, allocations: 5.878 MB / 0.6224 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5084, allocations: 0 / 0.6224 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009666/0.518, allocations: 3.93 MB / 0.6262 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.5184, allocations: 211.6 kB / 0.6264 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.5186, allocations: 12 kB / 0.6265 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.5197, allocations: 111.9 kB / 0.6266 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003762/0.5201, allocations: 160.3 kB / 0.6267 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.055e-05/0.5201, allocations: 16 kB / 0.6267 GB, free: 4.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009226/0.5211, allocations: 0.6592 MB / 0.6274 GB, free: 4.051 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5211, allocations: 4 kB / 0.6274 GB, free: 4.047 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001163/0.5222, allocations: 355.7 kB / 0.6277 GB, free: 3.699 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009996/0.5322, allocations: 4.494 MB / 0.6321 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005229/0.5375, allocations: 2.049 MB / 0.6341 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5375, allocations: 0 / 0.6341 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003497/0.541, allocations: 1.337 MB / 0.6354 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009593/0.542, allocations: 95.59 kB / 0.6355 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02958/0.5716, allocations: 13.97 MB / 0.6491 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.5722, allocations: 1.049 MB / 0.6502 GB, free: 12.22 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004329/0.5727, allocations: 98.67 kB / 0.6503 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/0.5732, allocations: 395.3 kB / 0.6506 GB, free: 11.73 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5733, allocations: 0 / 0.6506 GB, free: 11.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04631/0.6196, allocations: 25.47 MB / 0.6755 GB, free: 2.383 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.6198, allocations: 203 kB / 0.6757 GB, free: 2.133 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/2.958, allocations: 0 / 0.6757 GB, free: 2.133 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/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)