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: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09694/0.09694, 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.001025/0.001025, allocations: 107.4 kB / 31.83 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.357/1.357, 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.001404/0.001404, allocations: 195.3 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.4595/0.4595, allocations: 78.5 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.002687/0.002687, allocations: 142.6 kB / 0.5558 GB, free: 28.49 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1229, allocations: 68.13 MB / 0.6224 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006855/0.1298, allocations: 6.056 MB / 0.6283 GB, free: 9.367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.1337, allocations: 1.806 MB / 0.63 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008945/0.1346, allocations: 12 kB / 0.63 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008704/0.1355, allocations: 210.2 kB / 0.6302 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.1378, allocations: 0.7495 MB / 0.631 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1391, allocations: 0.5432 MB / 0.6315 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.141, allocations: 1.421 MB / 0.6329 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005432/0.1416, allocations: 279.2 kB / 0.6332 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.1426, allocations: 0.5679 MB / 0.6337 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.1436, allocations: 0.6533 MB / 0.6343 GB, free: 3.102 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.144, allocations: 96 kB / 0.6344 GB, free: 3.008 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007045/0.1447, allocations: 235.9 kB / 0.6347 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.1451, allocations: 270.8 kB / 0.6349 GB, free: 2.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007574/0.1458, allocations: 0.5592 MB / 0.6355 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.1477, allocations: 1.397 MB / 0.6368 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1477, allocations: 0 / 0.6368 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1477, allocations: 0 / 0.6368 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.334e-05/0.1478, allocations: 0 / 0.6368 GB, free: 0.5469 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.00832/0.1561, allocations: 2.24 MB / 0.639 GB, free: 14.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.1562, allocations: 11.98 kB / 0.639 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003822/0.16, allocations: 0.5571 MB / 0.6396 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.1618, allocations: 0.7914 MB / 0.6403 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.1622, allocations: 205.8 kB / 0.6405 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.1624, allocations: 64 kB / 0.6406 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.1643, allocations: 0.8379 MB / 0.6414 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1644, allocations: 0 / 0.6414 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.1645, allocations: 28 kB / 0.6415 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.1645, allocations: 19.94 kB / 0.6415 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.1665, allocations: 0.8484 MB / 0.6423 GB, free: 10.8 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.006075/0.1725, allocations: 3.027 MB / 0.6453 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006775/0.1793, allocations: 1.718 MB / 0.6469 GB, free: 5.824 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.1807, allocations: 0.5473 MB / 0.6475 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.1809, allocations: 12.64 kB / 0.6475 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/0.1824, allocations: 0.6248 MB / 0.6481 GB, free: 4.625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 3.076e-06/0.1824, allocations: 0 / 0.6481 GB, free: 4.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01978/0.2022, allocations: 4.702 MB / 0.6527 GB, free: 15.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.2022, allocations: 60.05 kB / 0.6527 GB, free: 15.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.2038, allocations: 0.966 MB / 0.6537 GB, free: 14.81 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.2039, allocations: 45.69 kB / 0.6537 GB, free: 14.76 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.2043, allocations: 464.1 kB / 0.6542 GB, free: 14.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.2046, allocations: 272.2 kB / 0.6544 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004563/0.205, allocations: 174.5 kB / 0.6546 GB, free: 13.85 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2052, allocations: 345.9 kB / 0.6549 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.2066, allocations: 0.5446 MB / 0.6555 GB, free: 12.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.208, allocations: 0.675 MB / 0.6561 GB, free: 12.26 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0181/0.2261, allocations: 4.05 MB / 0.6601 GB, free: 8.172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.2261, allocations: 0 / 0.6601 GB, free: 8.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00919/0.2353, allocations: 2.831 MB / 0.6628 GB, free: 5.324 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.2354, allocations: 4 kB / 0.6628 GB, free: 5.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.2354, allocations: 4 kB / 0.6628 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004969/0.2404, allocations: 1.266 MB / 0.6641 GB, free: 4.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.2415, allocations: 187.7 kB / 0.6643 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.2542, allocations: 5.679 MB / 0.6698 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.2557, allocations: 151 kB / 0.6699 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/0.2558, allocations: 35.98 kB / 0.67 GB, free: 13.85 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.0004449/0.2563, allocations: 234.7 kB / 0.6702 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.2565, allocations: 110.6 kB / 0.6703 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00912/0.2656, allocations: 2.653 MB / 0.6729 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.2657, allocations: 11.98 kB / 0.6729 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2657, allocations: 4 kB / 0.6729 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.2657, allocations: 3.984 kB / 0.6729 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.2763, allocations: 4.027 MB / 0.6769 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.2763, allocations: 4 kB / 0.6769 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.2769, allocations: 87.83 kB / 0.6769 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005094/0.282, allocations: 1.317 MB / 0.6782 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.2822, allocations: 16 kB / 0.6782 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/0.2959, allocations: 6.02 MB / 0.6841 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2959, allocations: 0 / 0.6841 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/0.3065, allocations: 3.365 MB / 0.6874 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.3069, allocations: 203.6 kB / 0.6876 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.3071, allocations: 15.94 kB / 0.6876 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.3081, allocations: 87.89 kB / 0.6877 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004712/0.3086, allocations: 156.4 kB / 0.6879 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.3087, allocations: 19.98 kB / 0.6879 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009906/0.3097, allocations: 0.663 MB / 0.6885 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3097, allocations: 0 / 0.6885 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001216/0.3109, allocations: 351.7 kB / 0.6889 GB, free: 10.18 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.0002698/0.3112, allocations: 127.8 kB / 0.689 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004942/0.3161, allocations: 1.874 MB / 0.6908 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3162, allocations: 0 / 0.6908 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003443/0.3196, allocations: 1.211 MB / 0.692 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008156/0.3204, allocations: 96.34 kB / 0.6921 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.3238, allocations: 1.794 MB / 0.6938 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.3243, allocations: 1.046 MB / 0.6949 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003916/0.3247, allocations: 98.67 kB / 0.6949 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.325, allocations: 63.42 kB / 0.695 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.325, allocations: 0 / 0.695 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of Templates: time 0.02912/0.3541, allocations: 18.92 MB / 0.7135 GB, free: 0.8242 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)