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-master/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-master/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-master/package.mo): time 0.08795/0.08795, allocations: 12.6 MB / 28.1 MB, free: 268 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001088, allocations: 107.5 kB / 31.7 MB, free: 3.516 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.368/1.368, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001501/0.001501, allocations: 195.8 kB / 290.6 MB, free: 11.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4703/0.4703, allocations: 78.5 MB / 419.2 MB, free: 10.84 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.002973/0.002973, allocations: 139.8 kB / 499.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2943, allocations: 68.12 MB / 0.5547 GB, free: 21.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005111/0.2995, allocations: 6.052 MB / 0.5606 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.3024, allocations: 1.814 MB / 0.5624 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/0.3028, allocations: 15.94 kB / 0.5624 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005164/0.3034, allocations: 214.2 kB / 0.5626 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.3046, allocations: 0.6998 MB / 0.5633 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008577/0.3055, allocations: 0.5456 MB / 0.5638 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008498/0.3063, allocations: 1.409 MB / 0.5652 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.3067, allocations: 275.3 kB / 0.5654 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004543/0.3071, allocations: 0.5563 MB / 0.566 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.3076, allocations: 0.6532 MB / 0.5666 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.3078, allocations: 104 kB / 0.5667 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.3081, allocations: 231.9 kB / 0.5669 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.3083, allocations: 262.9 kB / 0.5672 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.3086, allocations: 0.5708 MB / 0.5677 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009087/0.3096, allocations: 1.378 MB / 0.5691 GB, free: 6.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3096, allocations: 0 / 0.5691 GB, free: 6.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3096, allocations: 0 / 0.5691 GB, free: 6.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3096, allocations: 0 / 0.5691 GB, free: 6.477 MB / 382.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.006287/0.3159, allocations: 2.239 MB / 0.5713 GB, free: 4.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3159, allocations: 11.98 kB / 0.5713 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.3161, allocations: 110.6 kB / 0.5714 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.3193, allocations: 0.5569 MB / 0.5719 GB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.3204, allocations: 0.7797 MB / 0.5727 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.3206, allocations: 225.7 kB / 0.5729 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.3208, allocations: 64 kB / 0.573 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.3223, allocations: 0.8302 MB / 0.5738 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3223, allocations: 0 / 0.5738 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.3224, allocations: 28 kB / 0.5738 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.3224, allocations: 19.94 kB / 0.5738 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.324, allocations: 0.8445 MB / 0.5746 GB, free: 0.6172 MB / 382.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.005259/0.3293, allocations: 3.047 MB / 0.5776 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006508/0.3358, allocations: 1.707 MB / 0.5793 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.337, allocations: 0.5498 MB / 0.5798 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.011e-05/0.3371, allocations: 16.58 kB / 0.5798 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.3384, allocations: 0.6172 MB / 0.5804 GB, free: 10.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=74): time 3.727e-06/0.3384, allocations: 0 / 0.5804 GB, free: 10.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.01912/0.3575, allocations: 4.706 MB / 0.585 GB, free: 5.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.3576, allocations: 60.06 kB / 0.5851 GB, free: 5.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.3592, allocations: 0.9699 MB / 0.586 GB, free: 4.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.3593, allocations: 33.7 kB / 0.5861 GB, free: 4.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.3597, allocations: 472.2 kB / 0.5865 GB, free: 4.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.36, allocations: 264.2 kB / 0.5868 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/0.3604, allocations: 186.5 kB / 0.587 GB, free: 3.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3605, allocations: 349.8 kB / 0.5873 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.3617, allocations: 0.5524 MB / 0.5878 GB, free: 2.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.3631, allocations: 0.6672 MB / 0.5885 GB, free: 2.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01768/0.3808, allocations: 4.049 MB / 0.5924 GB, free: 13.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.3808, allocations: 0 / 0.5924 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009461/0.3903, allocations: 2.839 MB / 0.5952 GB, free: 11.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.3903, allocations: 4 kB / 0.5952 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.3904, allocations: 4 kB / 0.5952 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005082/0.3955, allocations: 1.274 MB / 0.5965 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.3966, allocations: 187.6 kB / 0.5966 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/0.4099, allocations: 5.681 MB / 0.6022 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.4115, allocations: 155 kB / 0.6023 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.4117, allocations: 35.98 kB / 0.6024 GB, free: 3.641 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.0006138/0.4123, allocations: 235.1 kB / 0.6026 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003331/0.4127, allocations: 110.6 kB / 0.6027 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008885/0.4216, allocations: 2.657 MB / 0.6053 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4216, allocations: 12 kB / 0.6053 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4216, allocations: 0 / 0.6053 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.4216, allocations: 7.922 kB / 0.6053 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.4324, allocations: 4.021 MB / 0.6092 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.4324, allocations: 3.938 kB / 0.6092 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/0.433, allocations: 91.89 kB / 0.6093 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005089/0.4381, allocations: 1.323 MB / 0.6106 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.4382, allocations: 16 kB / 0.6106 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/0.452, allocations: 6.024 MB / 0.6165 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4521, allocations: 3.938 kB / 0.6165 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.4625, allocations: 3.375 MB / 0.6198 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.463, allocations: 199.7 kB / 0.62 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.4633, allocations: 12 kB / 0.62 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.4644, allocations: 87.89 kB / 0.6201 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00048/0.4649, allocations: 152.4 kB / 0.6203 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/0.4649, allocations: 27.98 kB / 0.6203 GB, free: 0.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.4661, allocations: 0.6514 MB / 0.6209 GB, free: 304 kB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4661, allocations: 0 / 0.6209 GB, free: 304 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001234/0.4674, allocations: 351.7 kB / 0.6213 GB, free: 15.95 MB / 446.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.01077/0.4782, allocations: 3.943 MB / 0.6251 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005623/0.4838, allocations: 1.901 MB / 0.627 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.4838, allocations: 4.562 kB / 0.627 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0035/0.4873, allocations: 1.218 MB / 0.6282 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009385/0.4883, allocations: 100.3 kB / 0.6282 GB, free: 8.684 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/0.517, allocations: 12.52 MB / 0.6405 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.5177, allocations: 1.038 MB / 0.6415 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.5182, allocations: 102.7 kB / 0.6416 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/0.5187, allocations: 403.3 kB / 0.642 GB, free: 10.23 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5188, allocations: 4 kB / 0.642 GB, free: 10.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05891/0.5777, allocations: 27.86 MB / 0.6692 GB, free: 14.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.61, allocations: 0 / 0.6692 GB, free: 14.42 MB / 494.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)