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.09094/0.09094, allocations: 12.2 MB / 27.43 MB, free: 1.379 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.001197/0.001197, allocations: 120.3 kB / 30.94 MB, free: 4.656 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.555/1.555, allocations: 205.1 MB / 239.4 MB, free: 12.93 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.001702/0.001703, allocations: 192.5 kB / 289.6 MB, free: 14.08 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.444/0.444, allocations: 78.51 MB / 418.1 MB, free: 11.95 MB / 302.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.002976/0.002976, allocations: 127.8 kB / 498.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3658, allocations: 68.02 MB / 0.5533 GB, free: 32.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007175/0.373, allocations: 6.371 MB / 0.5595 GB, free: 28.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004292/0.3774, allocations: 1.841 MB / 0.5613 GB, free: 26.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006662/0.378, allocations: 16.69 kB / 0.5613 GB, free: 26.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007203/0.3788, allocations: 161.6 kB / 0.5614 GB, free: 26.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.3804, allocations: 0.6228 MB / 0.5621 GB, free: 26.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3816, allocations: 0.5095 MB / 0.5626 GB, free: 25.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.3829, allocations: 1.41 MB / 0.5639 GB, free: 25.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/0.3833, allocations: 281.1 kB / 0.5642 GB, free: 24.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.3839, allocations: 0.5676 MB / 0.5648 GB, free: 24.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006016/0.3845, allocations: 0.6497 MB / 0.5654 GB, free: 24.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.3847, allocations: 98.03 kB / 0.5655 GB, free: 24.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.3852, allocations: 233.5 kB / 0.5657 GB, free: 24.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.3854, allocations: 271.2 kB / 0.566 GB, free: 23.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.3858, allocations: 0.5641 MB / 0.5665 GB, free: 23.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3869, allocations: 1.38 MB / 0.5679 GB, free: 22.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.387, allocations: 0 / 0.5679 GB, free: 22.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.387, allocations: 0 / 0.5679 GB, free: 22.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.387, allocations: 0 / 0.5679 GB, free: 22.37 MB / 398.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.006724/0.3937, allocations: 2.233 MB / 0.57 GB, free: 20.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3938, allocations: 13.89 kB / 0.5701 GB, free: 20.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.3939, allocations: 115.7 kB / 0.5702 GB, free: 20.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/0.3972, allocations: 0.5548 MB / 0.5707 GB, free: 20.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.3984, allocations: 0.7806 MB / 0.5715 GB, free: 19.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.3987, allocations: 217 kB / 0.5717 GB, free: 19.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.3988, allocations: 62.69 kB / 0.5717 GB, free: 19.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.4005, allocations: 0.8326 MB / 0.5725 GB, free: 19.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.4005, allocations: 3.938 kB / 0.5726 GB, free: 19.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.4006, allocations: 25.62 kB / 0.5726 GB, free: 19.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.4006, allocations: 18.75 kB / 0.5726 GB, free: 19.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.4023, allocations: 0.8523 MB / 0.5734 GB, free: 18.82 MB / 398.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.004849/0.4072, allocations: 3.051 MB / 0.5764 GB, free: 16.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005474/0.4127, allocations: 1.708 MB / 0.5781 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009166/0.4136, allocations: 0.5498 MB / 0.5786 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.765e-05/0.4137, allocations: 12.59 kB / 0.5786 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.4148, allocations: 0.621 MB / 0.5792 GB, free: 13.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=74): time 2.886e-06/0.4148, allocations: 0 / 0.5792 GB, free: 13.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.01633/0.4311, allocations: 4.702 MB / 0.5838 GB, free: 8.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.4312, allocations: 64 kB / 0.5839 GB, free: 8.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.4325, allocations: 0.9738 MB / 0.5848 GB, free: 7.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.4326, allocations: 33.7 kB / 0.5849 GB, free: 7.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.4329, allocations: 476.2 kB / 0.5853 GB, free: 6.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.4331, allocations: 260.2 kB / 0.5856 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003096/0.4334, allocations: 182.5 kB / 0.5857 GB, free: 6.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.4335, allocations: 345.9 kB / 0.5861 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009963/0.4345, allocations: 0.5524 MB / 0.5866 GB, free: 5.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.4355, allocations: 0.675 MB / 0.5873 GB, free: 4.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/0.4509, allocations: 4.049 MB / 0.5912 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.451, allocations: 0 / 0.5912 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00834/0.4593, allocations: 2.835 MB / 0.594 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.4594, allocations: 8 kB / 0.594 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.4594, allocations: 4 kB / 0.594 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004678/0.4641, allocations: 1.265 MB / 0.5952 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.4652, allocations: 191.7 kB / 0.5954 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.4775, allocations: 5.682 MB / 0.601 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.4793, allocations: 154.9 kB / 0.6011 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.039e-05/0.4794, allocations: 35.98 kB / 0.6012 GB, free: 6.48 MB / 414.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.0005171/0.4799, allocations: 239.1 kB / 0.6014 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.4801, allocations: 110.6 kB / 0.6015 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008478/0.4886, allocations: 2.657 MB / 0.6041 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4886, allocations: 8 kB / 0.6041 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4887, allocations: 0 / 0.6041 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.4887, allocations: 7.922 kB / 0.6041 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.4989, allocations: 4.025 MB / 0.608 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.4989, allocations: 3.938 kB / 0.608 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.4995, allocations: 87.89 kB / 0.6081 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004708/0.5042, allocations: 1.322 MB / 0.6094 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.325e-05/0.5043, allocations: 16 kB / 0.6094 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/0.5171, allocations: 6.017 MB / 0.6153 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5172, allocations: 0 / 0.6153 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.5272, allocations: 3.367 MB / 0.6186 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/0.5278, allocations: 203.6 kB / 0.6188 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.528, allocations: 12 kB / 0.6188 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009958/0.529, allocations: 91.89 kB / 0.6189 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000548/0.5296, allocations: 148.4 kB / 0.619 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/0.5297, allocations: 24 kB / 0.619 GB, free: 3.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.5307, allocations: 0.6631 MB / 0.6197 GB, free: 3.145 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5307, allocations: 0 / 0.6197 GB, free: 3.145 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001199/0.5319, allocations: 347.7 kB / 0.62 GB, free: 2.805 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.01062/0.5426, allocations: 3.947 MB / 0.6239 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005454/0.5481, allocations: 1.898 MB / 0.6257 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5481, allocations: 0 / 0.6257 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003317/0.5514, allocations: 1.227 MB / 0.6269 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.5526, allocations: 96.28 kB / 0.627 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/0.5807, allocations: 12.85 MB / 0.6396 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.5814, allocations: 1.042 MB / 0.6406 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004684/0.5819, allocations: 98.67 kB / 0.6407 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005442/0.5824, allocations: 403.3 kB / 0.6411 GB, free: 12.74 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5824, allocations: 0 / 0.6411 GB, free: 12.74 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05387/0.6363, allocations: 27.01 MB / 0.6674 GB, free: 1.828 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.6365, allocations: 215.4 kB / 0.6677 GB, free: 1.574 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/3.355, allocations: 3.938 kB / 0.6677 GB, free: 1.57 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)