Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 109 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.1 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 196.4 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5584/0.5584, allocations: 91.91 MB / 432.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 79.84 kB / 0.5734 GB, free: 33.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1545, allocations: 71.28 MB / 0.643 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006833/0.1614, allocations: 6.028 MB / 0.6488 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.1656, allocations: 1.841 MB / 0.6506 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008151/0.1664, allocations: 15.94 kB / 0.6507 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.1671, allocations: 210.1 kB / 0.6509 GB, free: 11.53 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.1691, allocations: 0.6933 MB / 0.6515 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.1704, allocations: 0.5659 MB / 0.6521 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.1721, allocations: 1.417 MB / 0.6535 GB, free: 8.852 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000468/0.1726, allocations: 287.2 kB / 0.6538 GB, free: 8.559 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008488/0.1734, allocations: 0.5602 MB / 0.6543 GB, free: 7.996 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007944/0.1742, allocations: 0.6494 MB / 0.6549 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.1744, allocations: 96 kB / 0.655 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.1749, allocations: 239.8 kB / 0.6553 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.1752, allocations: 258.9 kB / 0.6555 GB, free: 6.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005148/0.1757, allocations: 0.5708 MB / 0.6561 GB, free: 6.188 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.1773, allocations: 1.39 MB / 0.6574 GB, free: 4.793 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1773, allocations: 0 / 0.6574 GB, free: 4.793 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1773, allocations: 4 kB / 0.6574 GB, free: 4.789 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.135e-05/0.1773, allocations: 0 / 0.6574 GB, free: 4.789 MB / 462.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.007208/0.1845, allocations: 2.232 MB / 0.6596 GB, free: 2.504 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1846, allocations: 12.03 kB / 0.6596 GB, free: 2.492 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/0.188, allocations: 0.5532 MB / 0.6601 GB, free: 1.938 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.1896, allocations: 0.7992 MB / 0.6609 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.1899, allocations: 209.8 kB / 0.6611 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.19, allocations: 64 kB / 0.6612 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.1917, allocations: 0.8303 MB / 0.662 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1918, allocations: 0 / 0.662 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.282e-05/0.1919, allocations: 28 kB / 0.662 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.1919, allocations: 27.92 kB / 0.6621 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.1937, allocations: 0.8484 MB / 0.6629 GB, free: 15.04 MB / 478.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.00566/0.1993, allocations: 3.027 MB / 0.6658 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00597/0.2053, allocations: 1.712 MB / 0.6675 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.2065, allocations: 0.5537 MB / 0.6681 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.828e-05/0.2066, allocations: 8.656 kB / 0.6681 GB, free: 9.504 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.2079, allocations: 0.6172 MB / 0.6687 GB, free: 8.871 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 3.105e-06/0.2079, allocations: 3.938 kB / 0.6687 GB, free: 8.867 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.01825/0.2262, allocations: 4.695 MB / 0.6733 GB, free: 4.121 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.2263, allocations: 64.06 kB / 0.6733 GB, free: 4.047 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.2278, allocations: 0.9738 MB / 0.6743 GB, free: 3.055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.228, allocations: 37.7 kB / 0.6743 GB, free: 3.012 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.2284, allocations: 468.2 kB / 0.6747 GB, free: 2.547 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.2287, allocations: 260.2 kB / 0.675 GB, free: 2.289 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/0.229, allocations: 186.5 kB / 0.6752 GB, free: 2.098 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2292, allocations: 345.9 kB / 0.6755 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.2304, allocations: 0.5485 MB / 0.676 GB, free: 1.207 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.2316, allocations: 0.675 MB / 0.6767 GB, free: 0.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01685/0.2485, allocations: 4.038 MB / 0.6806 GB, free: 12.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.2485, allocations: 0 / 0.6806 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008622/0.2572, allocations: 2.839 MB / 0.6834 GB, free: 9.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.2572, allocations: 5.25 kB / 0.6834 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.2573, allocations: 4 kB / 0.6834 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004584/0.2619, allocations: 1.265 MB / 0.6847 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.2629, allocations: 191.7 kB / 0.6848 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.2748, allocations: 5.678 MB / 0.6904 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.2764, allocations: 143 kB / 0.6905 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.755e-05/0.2765, allocations: 39.98 kB / 0.6906 GB, free: 2.109 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.000478/0.2769, allocations: 237.5 kB / 0.6908 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.2771, allocations: 114.6 kB / 0.6909 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008334/0.2855, allocations: 2.657 MB / 0.6935 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.2855, allocations: 8 kB / 0.6935 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2855, allocations: 0 / 0.6935 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.2856, allocations: 15.86 kB / 0.6935 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.2957, allocations: 4.015 MB / 0.6974 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.2958, allocations: 0 / 0.6974 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.2963, allocations: 91.83 kB / 0.6975 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004737/0.3011, allocations: 1.326 MB / 0.6988 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.3012, allocations: 16 kB / 0.6988 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/0.3138, allocations: 6.008 MB / 0.7047 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3139, allocations: 0 / 0.7047 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009757/0.3236, allocations: 3.372 MB / 0.708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.3241, allocations: 199.6 kB / 0.7082 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.3243, allocations: 12 kB / 0.7082 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009478/0.3252, allocations: 91.89 kB / 0.7083 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004798/0.3257, allocations: 152.4 kB / 0.7084 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.285e-05/0.3258, allocations: 23.98 kB / 0.7084 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009966/0.3268, allocations: 0.6553 MB / 0.7091 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3268, allocations: 0 / 0.7091 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001151/0.328, allocations: 347.7 kB / 0.7094 GB, free: 14.44 MB / 0.5137 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.0002849/0.3283, allocations: 136.1 kB / 0.7095 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004816/0.3331, allocations: 1.881 MB / 0.7114 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3331, allocations: 0 / 0.7114 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003348/0.3365, allocations: 1.208 MB / 0.7126 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/0.3373, allocations: 94.89 kB / 0.7127 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.3409, allocations: 1.826 MB / 0.7144 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.3417, allocations: 1.049 MB / 0.7155 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.3419, allocations: 75.36 kB / 0.7155 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.3419, allocations: 0 / 0.7155 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of Templates: time 0.02545/0.3674, allocations: 21.88 MB / 0.7369 GB, free: 2.145 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)