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.08601/0.08601, allocations: 12.59 MB / 28.22 MB, free: 0.7812 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.00131/0.00131, allocations: 111.4 kB / 31.84 MB, free: 3.902 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.427/1.427, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001513/0.001514, allocations: 179.4 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4463/0.4463, allocations: 78.51 MB / 419.3 MB, free: 11.26 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.002884/0.002884, allocations: 139.7 kB / 0.5553 GB, free: 28.87 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1314, allocations: 68.13 MB / 0.6219 GB, free: 80 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007504/0.139, allocations: 6.051 MB / 0.6278 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003864/0.1429, allocations: 1.818 MB / 0.6296 GB, free: 8.168 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008296/0.1438, allocations: 15.94 kB / 0.6296 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.1446, allocations: 206.2 kB / 0.6298 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.1468, allocations: 0.7413 MB / 0.6305 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1482, allocations: 0.5455 MB / 0.631 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001848/0.1501, allocations: 1.425 MB / 0.6324 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.1506, allocations: 275.3 kB / 0.6327 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009563/0.1516, allocations: 0.5641 MB / 0.6332 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009403/0.1526, allocations: 0.6533 MB / 0.6339 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.1529, allocations: 100 kB / 0.634 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000528/0.1535, allocations: 239.8 kB / 0.6342 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.1538, allocations: 262.9 kB / 0.6344 GB, free: 3.141 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007515/0.1545, allocations: 0.5669 MB / 0.635 GB, free: 2.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.1561, allocations: 1.391 MB / 0.6364 GB, free: 1.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1561, allocations: 3.984 kB / 0.6364 GB, free: 1.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1561, allocations: 7.938 kB / 0.6364 GB, free: 1.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.051e-05/0.1562, allocations: 4 kB / 0.6364 GB, free: 1.16 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.007304/0.1635, allocations: 2.232 MB / 0.6385 GB, free: 14.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1635, allocations: 11.98 kB / 0.6386 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003085/0.1638, allocations: 110.7 kB / 0.6387 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/0.1673, allocations: 0.5607 MB / 0.6392 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.1688, allocations: 0.7798 MB / 0.64 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.1691, allocations: 217.8 kB / 0.6402 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.1692, allocations: 60 kB / 0.6402 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.1709, allocations: 0.8341 MB / 0.6411 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.171, allocations: 0 / 0.6411 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.611e-05/0.1711, allocations: 28 kB / 0.6411 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.1711, allocations: 15.94 kB / 0.6411 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.173, allocations: 0.8484 MB / 0.6419 GB, free: 11.31 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.005582/0.1786, allocations: 3.035 MB / 0.6449 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006061/0.1847, allocations: 1.714 MB / 0.6466 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.1859, allocations: 0.5512 MB / 0.6471 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.186, allocations: 24.56 kB / 0.6471 GB, free: 5.758 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/0.1874, allocations: 0.6133 MB / 0.6477 GB, free: 5.133 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 3.327e-06/0.1874, allocations: 0 / 0.6477 GB, free: 5.133 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01794/0.2053, allocations: 4.694 MB / 0.6523 GB, free: 392 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.2054, allocations: 60.06 kB / 0.6524 GB, free: 320 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.2073, allocations: 0.97 MB / 0.6533 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.2075, allocations: 41.7 kB / 0.6533 GB, free: 15.28 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.2079, allocations: 472.2 kB / 0.6538 GB, free: 14.81 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/0.2084, allocations: 268.2 kB / 0.6541 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.2088, allocations: 174.5 kB / 0.6542 GB, free: 14.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2089, allocations: 349.9 kB / 0.6546 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.2101, allocations: 0.5524 MB / 0.6551 GB, free: 13.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.2114, allocations: 0.675 MB / 0.6558 GB, free: 12.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/0.2281, allocations: 4.034 MB / 0.6597 GB, free: 8.688 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/0.2281, allocations: 3.984 kB / 0.6597 GB, free: 8.684 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008581/0.2367, allocations: 2.831 MB / 0.6625 GB, free: 5.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.2368, allocations: 8 kB / 0.6625 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2368, allocations: 0 / 0.6625 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004561/0.2414, allocations: 1.266 MB / 0.6637 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009619/0.2424, allocations: 191.7 kB / 0.6639 GB, free: 4.367 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.2545, allocations: 5.679 MB / 0.6694 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.2561, allocations: 147 kB / 0.6696 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.2562, allocations: 39.98 kB / 0.6696 GB, free: 14.36 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.000634/0.2569, allocations: 238.6 kB / 0.6698 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.2572, allocations: 110.6 kB / 0.6699 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00831/0.2655, allocations: 2.653 MB / 0.6725 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/0.2656, allocations: 8 kB / 0.6725 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.2656, allocations: 3.984 kB / 0.6725 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.2657, allocations: 0 / 0.6725 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.2761, allocations: 4.027 MB / 0.6765 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2761, allocations: 7.938 kB / 0.6765 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.2766, allocations: 87.89 kB / 0.6766 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004819/0.2815, allocations: 1.321 MB / 0.6779 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.2815, allocations: 12 kB / 0.6779 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.2946, allocations: 6.019 MB / 0.6838 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2946, allocations: 0 / 0.6838 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00967/0.3043, allocations: 3.373 MB / 0.687 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/0.3046, allocations: 195.7 kB / 0.6872 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.3048, allocations: 19.94 kB / 0.6873 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.3058, allocations: 87.89 kB / 0.6873 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000419/0.3062, allocations: 160.4 kB / 0.6875 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.3063, allocations: 27.98 kB / 0.6875 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001056/0.3074, allocations: 0.6514 MB / 0.6882 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3074, allocations: 0 / 0.6882 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001171/0.3086, allocations: 355.6 kB / 0.6885 GB, free: 10.68 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.01006/0.3186, allocations: 3.939 MB / 0.6923 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004972/0.3236, allocations: 1.871 MB / 0.6942 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3236, allocations: 0 / 0.6942 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003412/0.3271, allocations: 1.219 MB / 0.6954 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.3281, allocations: 99.61 kB / 0.6954 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/0.3546, allocations: 11.97 MB / 0.7071 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007115/0.3553, allocations: 1.042 MB / 0.7082 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003259/0.3557, allocations: 94.69 kB / 0.7082 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006222/0.3563, allocations: 407.2 kB / 0.7086 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.3563, allocations: 0 / 0.7086 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.306/0.6623, allocations: 28.2 MB / 0.7362 GB, free: 80.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/15.71, allocations: 6.578 kB / 0.7362 GB, free: 80.32 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)