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.1536/0.1536, allocations: 12.59 MB / 28.22 MB, free: 0.7695 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.001712/0.001711, allocations: 111.4 kB / 31.84 MB, free: 3.895 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.687/1.687, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001615/0.001615, allocations: 191.2 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.7963/0.7963, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.005493/0.005494, allocations: 138.1 kB / 0.5553 GB, free: 28.84 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1612, allocations: 68.13 MB / 0.6219 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.01153/0.1728, allocations: 6.062 MB / 0.6278 GB, free: 9.875 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005205/0.178, allocations: 1.806 MB / 0.6295 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.1791, allocations: 11.94 kB / 0.6296 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009902/0.1801, allocations: 210.2 kB / 0.6298 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.1825, allocations: 0.7036 MB / 0.6304 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.184, allocations: 0.5495 MB / 0.631 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002057/0.1861, allocations: 1.413 MB / 0.6324 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005532/0.1867, allocations: 283.2 kB / 0.6326 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.1877, allocations: 0.5719 MB / 0.6332 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.1887, allocations: 0.6494 MB / 0.6338 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002911/0.189, allocations: 100 kB / 0.6339 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006392/0.1897, allocations: 227.9 kB / 0.6341 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.19, allocations: 266.9 kB / 0.6344 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007836/0.1908, allocations: 0.5708 MB / 0.635 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.1927, allocations: 1.395 MB / 0.6363 GB, free: 1.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1927, allocations: 0 / 0.6363 GB, free: 1.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1928, allocations: 0 / 0.6363 GB, free: 1.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.597e-05/0.1928, allocations: 0 / 0.6363 GB, free: 1.098 MB / 446.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.008211/0.201, allocations: 2.239 MB / 0.6385 GB, free: 14.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2011, allocations: 15.98 kB / 0.6385 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.2013, allocations: 106.7 kB / 0.6386 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003763/0.2051, allocations: 0.5607 MB / 0.6392 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.2071, allocations: 0.7798 MB / 0.6399 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/0.2074, allocations: 217.8 kB / 0.6401 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.2076, allocations: 64 kB / 0.6402 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.21, allocations: 0.8341 MB / 0.641 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.21, allocations: 0 / 0.641 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.979e-05/0.2101, allocations: 24 kB / 0.641 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.2101, allocations: 19.94 kB / 0.6411 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.2123, allocations: 0.8522 MB / 0.6419 GB, free: 11.23 MB / 462.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.006275/0.2186, allocations: 3.031 MB / 0.6448 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006874/0.2255, allocations: 1.706 MB / 0.6465 GB, free: 6.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.2268, allocations: 0.5511 MB / 0.647 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.2269, allocations: 12.59 kB / 0.6471 GB, free: 5.703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/0.2285, allocations: 0.6172 MB / 0.6477 GB, free: 5.074 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 3.146e-06/0.2285, allocations: 0 / 0.6477 GB, free: 5.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.02004/0.2485, allocations: 4.706 MB / 0.6523 GB, free: 320 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.2486, allocations: 63.94 kB / 0.6523 GB, free: 244 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.2503, allocations: 0.9661 MB / 0.6533 GB, free: 15.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.2505, allocations: 41.7 kB / 0.6533 GB, free: 15.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.2508, allocations: 468.2 kB / 0.6537 GB, free: 14.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.2512, allocations: 268.2 kB / 0.654 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004331/0.2516, allocations: 182.5 kB / 0.6542 GB, free: 14.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2518, allocations: 345.9 kB / 0.6545 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.2531, allocations: 0.5485 MB / 0.655 GB, free: 13.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.2545, allocations: 0.6672 MB / 0.6557 GB, free: 12.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01859/0.2731, allocations: 4.038 MB / 0.6596 GB, free: 8.625 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.2732, allocations: 0 / 0.6596 GB, free: 8.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01005/0.2832, allocations: 2.843 MB / 0.6624 GB, free: 5.766 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.2833, allocations: 4 kB / 0.6624 GB, free: 5.762 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2833, allocations: 4 kB / 0.6624 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005306/0.2886, allocations: 1.27 MB / 0.6637 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.2897, allocations: 191.8 kB / 0.6638 GB, free: 4.293 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/0.3033, allocations: 5.667 MB / 0.6694 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.3048, allocations: 155 kB / 0.6695 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.305, allocations: 39.98 kB / 0.6696 GB, free: 14.29 MB / 494.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.0005376/0.3055, allocations: 238.6 kB / 0.6698 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.3058, allocations: 110.6 kB / 0.6699 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009421/0.3152, allocations: 2.657 MB / 0.6725 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.3153, allocations: 8 kB / 0.6725 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.3153, allocations: 4 kB / 0.6725 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.3153, allocations: 3.984 kB / 0.6725 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.3266, allocations: 4.019 MB / 0.6764 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.3266, allocations: 7.938 kB / 0.6764 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.3272, allocations: 87.88 kB / 0.6765 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00532/0.3325, allocations: 1.321 MB / 0.6778 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.3326, allocations: 16 kB / 0.6778 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/0.347, allocations: 6.012 MB / 0.6837 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.347, allocations: 0 / 0.6837 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/0.3617, allocations: 3.376 MB / 0.687 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/0.3622, allocations: 195.7 kB / 0.6872 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003462/0.3626, allocations: 16 kB / 0.6872 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.3644, allocations: 87.89 kB / 0.6873 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008072/0.3652, allocations: 156.4 kB / 0.6874 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.3654, allocations: 19.94 kB / 0.6875 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001862/0.3673, allocations: 0.6592 MB / 0.6881 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3673, allocations: 4 kB / 0.6881 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002006/0.3693, allocations: 359.6 kB / 0.6884 GB, free: 10.61 MB / 0.4981 GB 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.01859/0.3879, allocations: 3.939 MB / 0.6923 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009169/0.3971, allocations: 1.874 MB / 0.6941 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3972, allocations: 0 / 0.6941 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006386/0.4036, allocations: 1.219 MB / 0.6953 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.4051, allocations: 107.7 kB / 0.6954 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05264/0.4578, allocations: 11.96 MB / 0.7071 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.4589, allocations: 1.042 MB / 0.7081 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008275/0.4598, allocations: 102.7 kB / 0.7082 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009988/0.4608, allocations: 399.3 kB / 0.7086 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of SimCode: time 1.273e-06/0.4609, allocations: 3.938 kB / 0.7086 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.512/0.9729, allocations: 29.28 MB / 0.7372 GB, free: 80.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.53/27.5, allocations: 17.2 kB / 0.7372 GB, free: 80.21 MB / 0.5137 GB (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)